Web page shows international characters as � on live site, but it worked on localhost [duplicate]
Possible Duplicate:
Why my page cannot display é, instead, showing � ?
I have following in my html head:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
but nevertheless my live web page shows the international characters as little squares �
or question marks ?
.
copying my answer to the question Why my page cannot display é, instead, showing �
make sure your file does not have a BOM (byte order mark) at its beginning. i had this problem recently, and even though the file was saved as utf8 (checked several times), the BOM confused firefox and it wrongly displayed umlauts (i had html tags set to the correct encoding and http headers)
my website worked fine on localhost too, but broke on my webhost
精彩评论