I have set page encoding to UTF-8 in HTML:
meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8"
and in HTTP header, I have:
Content-Type text/html; charset=UTF-8
Why isn’t the é shown correctly?
Update:
The data containing the é is crawled from the Internet; the crawler is written in Microsoft .Net.
I used MySQL .Net Connector to connect MySQL.
The page to display the é is written in PHP.
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.It comes either from
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
A database connection that uses ISO-8859-1 even though the database tables are UTF-8