Message280855
> Please don't modify _PyUnicode_FromId(), I prefer to keep it as it is, decode from UTF-8.
Then we should add handling of three special cases: PyUnicode_READY() fails, _PyUnicode_FromId() fails and both fail due to memory error. This means that should be implemented character-by-character encoding of UCS1, UCS2, UCS4 or wchar_t (with possible surrogate pairs) to UTF-8 and comparing with UTF-8 encoded data. |
|
Date |
User |
Action |
Args |
2016-11-15 14:47:35 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner, ezio.melotti, josh.r, xiang.zhang |
2016-11-15 14:47:35 | serhiy.storchaka | set | messageid: <1479221255.56.0.622488403343.issue21449@psf.upfronthosting.co.za> |
2016-11-15 14:47:35 | serhiy.storchaka | link | issue21449 messages |
2016-11-15 14:47:35 | serhiy.storchaka | create | |
|