开发者

mysql php - latin1?

I have a mysql table, I made it in latin1 style and it is all that way. How can I make a table that is all latin1 except one column, which i need to be able to accept chinese characters? 开发者_如何学运维

Also, Whats the best structure for a column with chinese characters?


alter table your_table
modify column
chinese_column varchar(255) collate utf8_general_ci; <-- or any relevant collate

details can be found here

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜