To insert Chinese character:
- Specify database character-set as UTF-8
- Specify table or column collation set as UTF-8
- In your web.config connection string, specify charset UTF-8
e.g. <add name="MySqlConnString" connectionstring="server=IPAddress;userid=mysqluser;password=pa$$w0rd;database=mydb;pooling=false;charset=utf8 "/>
This is to tell the application to use UTF-8 charset when talking to the database
No comments:
Post a Comment