|
Posted by David Dorward on 11/14/51 11:27
Lüpher Cypher wrote:
Please do not top post.
http://www.allmyfaqs.com/faq.pl?How_to_post
> Ok, it has worked ok on my local host, but as I uploaded it to a server
> (one of the free ones), I got something that looks more like the
> non-unicode chars (say, Ð?Ñ?о).. I have this as my header:
>
> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
That is not your header. Meta http equivalent is not equivalent to real
http.
http://www.htmlhelp.com/tools/validator/charset.html
> I've also noticed that when I view the source the page starts with:
> 
At a wild guess I would say that that was a BOM.
http://www.unicode.org/faq/utf_bom.html#BOM
It shouldn't be visible if the file is being decoded by something that knows
what character encoding it was saved in.
> <?xml version="1.0" encoding="ISO-8859-1">
Now your code is contradicting itself. UTF-8 and ISO-859-1 are DIFFERENT
encoding.
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Navigation:
[Reply to this message]
|