Message72773
./python -c "print('à')"
does not work on my Linux machine with latest py3k (r66303), certainly
because my terminal uses a latin-1 encoding: wcstombs will convert the
argument back to the terminal encoding, whereas PyRun_SimpleString
expects a UTF-8 string.
I join another patch, which propagates the wchar_t as far as possible,
and encodes it as utf-8; with test.
This also corrects the Windows case. |
|
Date |
User |
Action |
Args |
2008-09-08 12:24:53 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, loewis, pitrou, benjamin.peterson |
2008-09-08 12:24:52 | amaury.forgeotdarc | set | messageid: <1220876693.0.0.602725023498.issue3705@psf.upfronthosting.co.za> |
2008-09-08 12:24:52 | amaury.forgeotdarc | link | issue3705 messages |
2008-09-08 12:24:51 | amaury.forgeotdarc | create | |
|