[Python-Dev] Python-3.0, unicode, and os.environ

Antoine Pitrou solipsis at pitrou.net
Mon Dec 8 21:45:50 CET 2008

M.-A. Lemburg <mal <at> egenix.com> writes:
> Such application specific error handlers could then also apply
> whatever fancy round-trip safe encoding of non-decodable bytes
> to Unicode escapes, private code points, etc. as seen fit by the
> application.

I'd argue that such fancy round-trip safe error handler should be provided by
Python. It's not reasonable to expect application coders to come up with their
own codec variation based on subtle details of the unicode spec.



More information about the Python-Dev mailing list