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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, benjamin.peterson, loewis, pitrou
Date 2008-09-08.12:24:51
SpamBayes Score 9.0920315e-05
Marked as misclassified No
Message-id <1220876693.0.0.602725023498.issue3705@psf.upfronthosting.co.za>
In-reply-to
Content
./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.
History
Date User Action Args
2008-09-08 12:24:53amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, loewis, pitrou, benjamin.peterson
2008-09-08 12:24:52amaury.forgeotdarcsetmessageid: <1220876693.0.0.602725023498.issue3705@psf.upfronthosting.co.za>
2008-09-08 12:24:52amaury.forgeotdarclinkissue3705 messages
2008-09-08 12:24:51amaury.forgeotdarccreate