阅读背景:

MySQL将latin1数据转换为UTF8

来源:互联网 

I imported some data using LOAD DATA INFILE into a MySQL Database. The table itself and the columns are using the UTF8 character set, but the default character set of the database is latin 1. Because the default character type of the database is latin1, and I used LOAD DATA INFILE without specifying a character set, it interpreted the file as latin1, even though the data in the file was UTF8. Now I have a bunch of badly encoded data in my UTF8 colum. I found I imported some data using LOAD DATA INFILE int




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: