如何用utf8回显åäö等特殊字符 [英] how to echo special characters like åäö with utf8
本文介绍了如何用utf8回显åäö等特殊字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以做些什么来让它们正常显示?
$ b $ b解决方案
有很多字符编码选项需要设置:
- 数据库列是否使用UTF8?
- 数据库连接是否使用UTF8?
- HTML输出设置是否为UTF8字符集?
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?
这篇关于如何用utf8回显åäö等特殊字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文