Message 113785 - Python tracker (original) (raw)
Message113785
Author | vstinner |
---|---|
Recipients | Arfrever, amaury.forgeotdarc, eric.araujo, ezio.melotti, pitrou, vstinner |
Date | 2010-08-13.15:22:41 |
SpamBayes Score | 8.678253e-08 |
Marked as misclassified | No |
Message-id | 1281712965.88.0.152732882355.issue9425@psf.upfronthosting.co.za |
In-reply-to |
Content |
---|
Note about _Py_wchar2char(): it is possible to convert character by character (instead of working on substrings) because the input string doesn't contain surrogate pairs. _Py_char2wchar() ensures the the output string doens't contain surrogate pairs: if a byte sequence produces a surrogate pairs, the byte sequence is encoded using the surrogateescape error handler (U+DC00..U+DCFF range). I should add this note in _Py_wchar2char() comment. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2010-08-13 15:22:45 | vstinner | set | recipients: + vstinner, amaury.forgeotdarc, pitrou, ezio.melotti, eric.araujo, Arfrever |
2010-08-13 15:22:45 | vstinner | set | messageid: 1281712965.88.0.152732882355.issue9425@psf.upfronthosting.co.za |
2010-08-13 15:22:42 | vstinner | link | issue9425 messages |
2010-08-13 15:22:41 | vstinner | create |