As a user I input this into the string $description: “This is one of those books that you don’t want to put down …” Romantic Times
作为一个用户,我把它输入到字符串$ description中:“这是你不想放下的那本书之一......”浪漫时代
This is what appears in the description field of my record: “This is one of those books that you don’t want to put down …†Romantic Times
这就是我的记录的描述字段中出现的内容:“这是你不想放下的那本书之一” - 浪漫时代
This is what the mysql record looks like: Field=description, Type= TEXT, Length/Values= "empty", Collation= utf8_general_ci
这就是mysql记录的样子:Field = description,Type = TEXT,Length / Values =“empty”,Collation = utf8_general_ci
Why does it display those weird characters? Is it the utf8_general_ci setting?
为什么会显示那些奇怪的字符?是utf8_general_ci设置吗?
1 个解决方案
#1
1
They are smart quotes. Use normal quotes like this "
他们是聪明的报价。使用像这样的普通报价“
#1
1
They are smart quotes. Use normal quotes like this "
他们是聪明的报价。使用像这样的普通报价“