Multilingual Datatype in MYSQL

孤者浪人 提交于 2020-01-04 04:19:07

问题


Can anyone tell me which data type i have to use to make my field multilingual ?

I have to give facility to user that they can use username in multiple language. Like,

Chinese, French, English, Hindi, Gujarati, Japanese etc.

I have to store user name in MYSQL database.


回答1:


Change your collation to uft8_unicode_ci so you can account for Multilanguage characters. There are other questions on the same subject i believe.

Here is a link to show you how to do it: http://docs.moodle.org/23/en/Converting_your_MySQL_database_to_UTF8



来源:https://stackoverflow.com/questions/13081934/multilingual-datatype-in-mysql

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!