xml文件中的特殊字符无法使用php正确显示
问题描述:
这可能是一个愚蠢的问题,但它不是我能找到的问题,它的问题,我不知道要搜索什么。有一些特殊字符在php中无法正确显示。我从一个xml文件中获取一些信息,并回显它们。
This may be a stupid question but its not a matter of what I can find, its a matter that I dont know what to search for. There are some special characters that don't show correctly in php. I'm taking some information from an xml file, and echo-ing them.
即:
应为 - >Nürnberg
should be -> Nürnberg
回应为 - >NÃrnberg
echoes as -> Nürnberg
要查找的内容或如何解决这个问题的任何提示?
any tips on what to look for, or how to resolve this?
答
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />