如何使用utf8回复åäö等特殊字符[复制]

This question already has an answer here:

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

what can i do to have them shown propertly?

</div>

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

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