为什么我的页面无法显示é,而是显示 ?

问题描述:

我已将网页编码设为html中的utf-8:

I have set page encoding to utf-8 in html :

meta http-equiv =content-typecontent =application / xhtml + xml; = UTF-8

meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8"

并且在HTTP标题中,我有:

and in HTTP header, I have:

Content-Type text / html; charset = UTF-8

Content-Type text/html; charset=UTF-8

为什么无法正确显示é?

Why cannot show é correctly?

感谢

更新:
包含é的数据从互联网抓取,抓取工具以Microsoft .Net编写。
我使用Mysql .Net连接器连接mysql。

Update: The data contains 'é' is crawled from internet, the crawler is written in Microsoft .Net. I used Mysql .Net Connector to connect mysql.

显示'é'的页面是用PHP编写的。

The page to display the 'é' is written in PHP.

您需要添加更多信息,但 通常是ISO-8859在处理为UTF-8的数据中为-1字符。

You need to add much more information, but a is usually a sign for a ISO-8859-1 character in data that is treated as UTF-8.

它来自


  • 声明为UTF-8,但实际保存为ISO-8859-1 / Windows-8252 - 在编辑器或IDE中检查文件编码

  • The source file claiming to be UTF-8, but actually being saved as ISO-8859-1/Windows-8252 - check your file encoding in your editor or IDE

即使数据库表是UTF-8也使用ISO-8859-1

A database connection that uses ISO-8859-1 even though the database tables are UTF-8