Message113723
Can you give me examples of configuration keys with undecodable values?
PyUnicode_DecodeFSDefault(AndSize) encoding depends on the locale whereas PyUnicode_FromString uses utf-8. I don't know the encoding of confstr() values.
You can decode an utf-8 value using surrogateescape (PEP 383 error handler) with PyUnicode_DecodeUTF8(value, strlen(value), "surrogateescape"). |
|
Date |
User |
Action |
Args |
2010-08-12 23:52:40 | vstinner | set | recipients:
+ vstinner, baikie |
2010-08-12 23:52:40 | vstinner | set | messageid: <1281657160.07.0.10110068463.issue9580@psf.upfronthosting.co.za> |
2010-08-12 23:52:38 | vstinner | link | issue9580 messages |
2010-08-12 23:52:37 | vstinner | create | |
|