This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients baikie, vstinner
Date 2010-08-12.23:52:37
SpamBayes Score 3.48225e-07
Marked as misclassified No
Message-id <>
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:40vstinnersetrecipients: + vstinner, baikie
2010-08-12 23:52:40vstinnersetmessageid: <>
2010-08-12 23:52:38vstinnerlinkissue9580 messages
2010-08-12 23:52:37vstinnercreate