问题
I have a table called "Testing". I inserted a row which contains unicode
character right single quotation (') 0x2019 in name field.
SQL :
//insert into Testing values(Sno,Name,Address)
insert into Testing values(1,"**Rajesh’s Friend**","Cumbum");
When listing the same row in Mysql Query Browser
or CommandLine
. It displays as a normal ANSI character(') instead of being unicode character.
I want to display the same unicode character in MySQL
table.
回答1:
You can try ALTER TABLE Testing COLLATE='utf8_unicode_ci';
to change the encoding.
来源:https://stackoverflow.com/questions/12387529/mysql-doesnt-display-right-single-quotation-mark-after-inserted-into-table