[Python-Dev] PEP 383: Non-decodable Bytes in System Character Interfaces
Baptiste Carvello
baptiste13z at free.fr
Wed Apr 29 09:38:38 CEST 2009
Glenn Linderman a écrit :
>
> 3. When an undecodable byte 0xPQ is found, decode to the escape
> codepoint, followed by codepoint U+01PQ, where P and Q are hex digits.
>
The problem with this strategy is: paths are often sliced, so your 2 codepoints
could get separated. The good thing with the PEP's strategy is that 1 character
stays 1 character.
Baptiste
More information about the Python-Dev
mailing list