Charset, validation and stuff... -...

User 1948478 Photo


Senior Advisor
1,850 posts

Inger Eik wrote:
I have it from the CC top level: They are working on a way to save the character encoding settings! :D They apparently have had their ears bent over this nagging thing by more people than just me...

Thank you Inger!!! :)
User 1948478 Photo


Senior Advisor
1,850 posts

...and thank you CC! ;)
User 463058 Photo


Ambassador
1,086 posts

Inger Eik wrote:
Question 1:
Where else than in the metatag about the charset is anything about my encoding specified? In the HTTP header??


Yep, exactly. Hopefully, these links will help:

http://www.webstandards.org/learn/artic … c/dec2002/

http://www.w3.org/International/O-HTTP-charset

http://www.w3.org/International/questio … ss-charset

The meta tag is just a fallback in case the server doesn't send character encoding info in the http header. For others reading these links who don't know any better, don't use an xml declaration with xhtml, or your pages will be rendered in quirks mode in IE, which you want to avoid. Well, unless you're actually serving your pages as xhtml, in which case they won't show up in IE at all, so quirks mode won't be a problem.

EDIT: Also, Opera has an info panel which will tell you the encoding specified by the http header.
User 122279 Photo


Senior Advisor
14,649 posts

Thanks, Cary. It seems a bit over my head, but I'll read it carefully in the morning. It's past midnight here now...

I may have to get back to you with more questions.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 463058 Photo


Ambassador
1,086 posts

Currently, your server has this (according to Firebug) :

Accept-Charset ISO-8859-1,utf-8


Pages using those encodings should therefore be served just fine. It's when you use something else, such as the us-ascii, that things get weird.
User 122279 Photo


Senior Advisor
14,649 posts

I think I have to check out Firebug and what it can tell me. I wasn't aware that it would know the settings of the server I'm using. The server is located in Norway, so that explains why it won't have the us-ascii.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 463058 Photo


Ambassador
1,086 posts

This is just some info the server sends the browser. I have no idea why. However, in Firebug you can find this by clicking the "Net" tab. Then click on "HTML" below it. You may have to first activate the Net tab if you've never tried it before, and will most likely need to reload the page before anything will show up in Firebug's main window.
User 463058 Photo


Ambassador
1,086 posts

Nothing to see here... (couldn't delete it)

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.