3

I am unable to save the character on mySQL 5.5. I have tried collation utf8mb4 and utf32. I have to store both Chinese and English characters in the same table.

4

2 回答 2

1

I was able to save this charecter by using utf8mb4 charecterset on mysql server. So the output of show variables like 'char%'; should be all utf8mb4 except for perhaps system charset.

于 2011-12-06T15:45:47.057 回答
0

Try utf8 general, and also, don't change to execute

 SET NAMES utf8;

beore the actual query, which is quite an important part

于 2011-11-22T17:25:20.220 回答