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

Adam Olsen rhamph at gmail.com
Sun Dec 7 10:21:01 CET 2008

On Sun, Dec 7, 2008 at 2:07 AM, Hagen Fürstenau <hfuerstenau at gmx.net> wrote:
>> If the Unicode APIs only have correct unicode, sure.  If not you'll
>> get errors translating to UTF-8 (and the byte APIs are supposed to
>> pass bad names through unaltered.)  Kinda ironic, no?
> As far as I can see all Python Unicode strings can be encoded to UTF-8,
> even things like lone surrogates because Python doesn't care about them.
> So both the Unicode API and the binary API would be fail-safe on Windows.

Python is broken and needs to be fixed.


Adam Olsen, aka Rhamphoryncus

More information about the Python-Dev mailing list