Dreamweaver utf-8 encoded php page displays wrong chinese character in IE and Chrome, correct in FF

Posted by user1334485 on Stack Overflow See other posts from Stack Overflow or by user1334485
Published on 2012-04-15T21:38:54Z Indexed on 2012/04/15 23:28 UTC
Read the original article Hit count: 250

I have an issue with character encoding:

I have this page: http://www.studiomille.jp/class/
(its in japanese but the character in question is from chinese i think)

FF shows it correctly, IE (all versions) and Chrome doesn't (sorry larger screenshots):

  • FF Screenshot: FF Screenshot
  • IE Screenshot: IE Screenshot

(there are other character that are different throughout the site, this is just one example)

Everything is set to UTF-8:
* PHP sends header: Content-Type:text/html; charset=UTF-8
* PHP starts with: mb_language('uni'); mb_internal_encoding('UTF-8');
* meta tag: <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
* all files are saved with UTF-8 encoding with DreamWeaver CS3
* the same font is used in all the browsers.

On that page nothing comes from the db, everything is hard coded.

The site has the same behavior on my localhost too.

So why only FF gets it right and how can I make it work on IE also?

© Stack Overflow or respective owner

Related posts about php

Related posts about internet-explorer