开发者

how to echo special characters like åäö with utf8 [duplicate]

This question already has answers here: UTF-8 all the way through 开发者_Go百科 (13 answers) Closed 9 years ago.

specialcharacters åöö in the database cant be shown when i retrieve the rows and echo it.

what can i do to have them shown propertly?


There are a number of character encoding options that need to be set:

  • Is the database column using UTF8?
  • Is the database connection using UTF8?
  • Is the HTML output setting a UTF8 character set?


Make sure your database tables, connection and output document type are UTF-8. Good reading on the issue: http://www.joelonsoftware.com/articles/Unicode.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜