Bookmarklet -字符集-特殊字符


Bookmarklet - charset - special characters

我正在制作一个bookmarklet,并将有关当前站点的一些信息发送到php脚本。

我在网站标题上有一些问题。例如,如果站点标题是

urban archaeology: sleeping beauty’s paris apartment

sql数据库

urban archaeology: sleeping beauty’s paris apartment

是因为字段的排序吗?现在是latin1_swedish_ci

确保你的html头指定utf8

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

通常可以做到(如果内容是utf8的话)。

将排序规则改为UTF-8