为什么我的页面无法显示é,而是显示 ? [英] Why my page cannot display é, instead, showing �?

查看:364
本文介绍了为什么我的页面无法显示é,而是显示 ?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将网页编码设为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

这篇关于为什么我的页面无法显示é,而是显示 ?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆