I'm using the CC html Editor, and I have applied the code cleaner regularly, which is set to ASCII by default, so even if I start out with UTF-8, I get this line of metatag:
<meta http-equiv="content-type" content="text/html; charset=us-ascii" />
and all my nicely written Norwegian æøå and ÆØÅ are transformed into æ ø etc. That is fine and well, because the letters come out as they are supposed to.
But then I run the validation of my html against the W3C site, and I get a warning saying:
"The character encoding specified in the HTTP header (iso-8859-1) is different from the value in the <meta> element (us-ascii). I will use the value from the HTTP header (iso-8859-1) for this validation."
Question 1:
Where else than in the metatag about the charset is anything about my encoding specified? In the HTTP header?? Does it mean that I have to use a different doctype declaration?
Since I don't want any warnings hanging over my code, I dutifully go back to the code cleaner, go into the tab 'Document' for EVERY single page of the site and change the encoding, so now I have the charset=iso-8859-1, and the ø and its buddies have gone back to æøå etc. And W3C is happy with it.
Question 2:
I would like some of you to take a look at the text of the site and see if there are any strange looking symbols replacing the æøå ÆØÅ, or if everything looks fine. Especially if you come from a language that uses a very different charset I would be interested in knowing if it looks ok or not.
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com