Message113785
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. |
|
| 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: <[email protected]> |
| 2010-08-13 15:22:42 | vstinner | link | issue9425 messages |
| 2010-08-13 15:22:41 | vstinner | create | |
|