Message 111758 - Python tracker
Message111758
| Author | vstinner |
|---|---|
| Recipients | Arfrever, lemburg, loewis, pitrou, vstinner |
| Date | 2010-07-28.01:29:22 |
| SpamBayes Score | 0.0045951013 |
| Marked as misclassified | No |
| Message-id | <1280280564.32.0.169855888774.issue8725@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I tried the patch on my import_unicode branch and it doesn't work if the locale encoding is not ASCII (as the current code doesn't work if the locale encoding is not UTF-8, #8611). If Py_FileSystemUnicodeEncoding is NULL: PyUnicode_EncodeFSDefault() should use mbcstowcs() and PyUnicode_DecodeFSDefault() should use wcstombcs(). They may reuse _Py_wchar2char() and _Py_char2wchar(). "ascii" should be used in initfsencoding(). |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2010-07-28 01:29:24 | vstinner | set | recipients: + vstinner, lemburg, loewis, pitrou, Arfrever |
| 2010-07-28 01:29:24 | vstinner | set | messageid: <1280280564.32.0.169855888774.issue8725@psf.upfronthosting.co.za> |
| 2010-07-28 01:29:23 | vstinner | link | issue8725 messages |
| 2010-07-28 01:29:22 | vstinner | create | |