idle6.0 german umlauts (ascii >128 Exception)

Neil Hodgson neilh at
Tue Nov 21 02:49:03 CET 2000

Nick Bensema:
# UTF-8 vs ISO 8859-1 explanation
> Well, then if that's true...
> then, knowing this is how Python does things, why doesn't IDLE use it?
> Forgive me, but the answer isn't quite obvious to me, quite...

   But that is not "how Python does things". Python makes few assumptions
about the meaning of bytes within strings. Your code may assume strings are
encoded in ISO 8859-1 and my code may assume they are in UTF-8. Or Cyrillic
or Japanese.


More information about the Python-list mailing list