Hi,

P.J. Eby schrieb:
> What roundtrips?  If they're operating on unicode, either they're in 
> violation of the spec (in which case, f*** them), or they're already 
> running a decode every time they pull something out of the 
> environ...  and using latin-1 or surrogates is only one encoding call 
> different from what they're doing now.
Currently they do this:

environ['PATH_INFO'].decode('utf-8', 'replace')

in the future they might have to do this:

environ['PATH_INFO'].encode('latin1').decode('utf-8')

That's what I was talking about here.


Regards,
Armin
_______________________________________________
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