开发者

Data from MySQL CHARSET problems, please look the image!

If ISO-8859-1 then (HTML Text: GOOD, MySQL Data: BAD) if UTF-8 then (HTML Text: BAD, MySQL Data: GOOD开发者_开发技巧)

What can I do to solve it?

Data from MySQL CHARSET problems, please look the image!


You need to get the encoding of your HTML page and that of the database data in sync.

UTF-8 is probably the best way to go. If you save your HTML page as UTF-8 (there should be a setting in your editor/IDE) things should work fine.

Make sure your page sends the correct content-type as well.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜