[Python-Dev] PEP: Defining Python Source Code Encodings

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Wed, 18 Jul 2001 00:45:42 +0200


> To be 8-bit clean it will have to use Latin-1 as fallback encoding
> since this encoding assures the roundtrip safety (decode to Unicode,
> then reencode).

No, that is not true. Any other 8-bit encoding that has all code
points assigned (e.g. Latin-2, or KOI8-R) would also give you full
round-trip encoding.

Regards,
Martin