[Python-Dev] PEP 383: Non-decodable Bytes in System Character Interfaces (original) (raw)
MRAB google at mrabarnett.plus.com
Thu Apr 30 20:02:23 CEST 2009
- Previous message: [Python-Dev] PEP 382 update
- Next message: [Python-Dev] PEP 383: Non-decodable Bytes in System Character Interfaces
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
One further question: should the encoder accept a string like u'\xDCC2\xDC80'? That would encode to b'\xC2\x80', which, when decoded, would give u'\x80'. Does the PEP only guarantee that strings decoded from the filesystem are reversible, but not check what might be de novo strings?
- Previous message: [Python-Dev] PEP 382 update
- Next message: [Python-Dev] PEP 383: Non-decodable Bytes in System Character Interfaces
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]