[Armin]
> No, they know the character sets.

Hmmm, define "know" ;-)

[Armin]
> You tell them what character set you
> want to use.  For example you can specify "utf-8", and they will
> decode/encode from/to utf-8.  But there is no way for the application to
> send information to the server before they are invoked to tell the
> server what encoding they want to use.

I see this as being the same as Graham's suggested approach of a
per-server configurable charset, which is then stored in the WSGI
dictionary, so that applications that have problems, i.e. that detect
mojibake in the unicode SCRIPT_NAME or PATH_INFO, can attempt to undo
the faulty decoding by the server.

Alan.
_______________________________________________
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Reply via email to