Posted by Michael Fesser on 01/09/07 19:07
..oO(no@email.com)
>well, i had a similar problem and solved it by encoding my index.html
>with utf-8, by adding this meta tag:
>
><meta http-equiv="content-type" content="application/xhtml+xml;
>charset=UTF-8" />
That doesn't solve the problem and is completely meaningless in XHTML.
Additionally I doubt that you're really delivering all your pages as
application/xhtml+xml, because they won't work in IE. That means that
the above declaration most likely contradicts what the server sends
actually.
The correct way is to configure the web server accordingly, so that the
used character encoding is sent along with the content type in the HTTP
response header. These meta-http-equiv crutches don't serve any purpose
in the WWW. They may be useful for locally stored documents, but that's
another story.
Micha
[Back to original message]
|