[Python-Dev] PEP 263 considered faulty (for some Japanese)

Fredrik Lundh fredrik@pythonware.com
Wed, 13 Mar 2002 12:38:49 +0100


Stephen J. Turnbull wrote:
> But the Web in general provides (mandatory) protocols for identifying
> content-type, yet I regularly see HTML files with incorrect http-equiv
> meta elements, and XHTML with no encoding declaration containing Shift
> JIS.

which reminds me: the HTTP protocol says that a charset specified
at the HTTP protocol level should override any encoding specified in
the document itself.

how do we deal with this?  an encoding override to compile()?

</F>