how to echo special characters like åäö with utf8 [duplicate]
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
精彩评论