Where is the ucs-32 codec?

"Martin v. Löwis" martin at v.loewis.de
Fri Jun 9 18:26:34 EDT 2006


cben at users.sf.net wrote:
>> I would like to see it correct, unlike the current UTF-16 codec. Perhaps
>> whoever contributes an UTF-32 codec could also deal with the defects of
>> the UTF-16 codec.
>>
> Now this is interesting, as I hoped to base my code on UTF-16 (and
> perhaps UTF-8 for combining surrogates)...  Can you elaborate?

The codec doesn't do line-oriented input correctly (i.e. readline);
it raises NotImplementedError.

Regards,
Martin



More information about the Python-list mailing list