Message123651
If Victor says so ...
Someone needs to check that it works on a UCS4 build, but on a narrow build I don't think UTF-16-XX encodings need to do anything special - they just encode the surrogates as ordinary code units.
>>> '\U00010000'.encode('UTF-16-BE').decode('UTF-16-BE') == '\U00010000'
True
>>> '\U00010000'.encode('UTF-16-LE').decode('UTF-16-LE') == '\U00010000'
True |
|
Date |
User |
Action |
Args |
2010-12-08 21:48:17 | belopolsky | set | recipients:
+ belopolsky, lemburg, terry.reedy, cgw, vstinner, docs@python |
2010-12-08 21:48:17 | belopolsky | set | messageid: <1291844897.23.0.205752165721.issue10546@psf.upfronthosting.co.za> |
2010-12-08 21:48:09 | belopolsky | link | issue10546 messages |
2010-12-08 21:48:09 | belopolsky | create | |
|