Re: What is the correct character encoding for http://www.w3.org/TR/REC-html40/html40.txt?

> HTTP/1.1 is outdated in matters like this. It sets ISO-8859-1 as the
> default encoding for all subtypes of the "text" type, but what browsers
> actually do for "text/html" is more or less what HTML5 CR describes at
> http://www.w3.org/TR/html5/syntax.html#determining-the-character-encoding
> And it is natural to assume that they behave similarly, to the extent
> possible, for "text/plain". My browsers seem to end up with using
> windows-1252, the same as they default for "text/html".

Thanks to your reply, I have found my misunderstanding of my browser's
behavior. The browser decode the document in EUC-KR I have chosen as an
default character encoding in the browser preferences, not ISO-8859-1.

> So the HTTP headers should really be fixed to specify
charset=windows-1252.

I really hope so.

Thanks for your very detailed explanation!

Received on Wednesday, 29 May 2013 14:19:52 UTC