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 gvanrossum
Recipients amaury.forgeotdarc, christian.heimes, gvanrossum, loewis, vbr
Date 2008-01-03.06:14:58
SpamBayes Score 0.025929932
Marked as misclassified No
Message-id <1199340900.36.0.483404716503.issue1688@psf.upfronthosting.co.za>
In-reply-to
Content
I think I understand what's going on.  The trail leads from the last "if
(tty) {" block in builtin_input() to PyOS_Readline() which in turn ends
up calling PyOS_StdioReadline() (because that's the most likely
initialization of PyOS_ReadlineFunctionPointer).  And this, finally,
uses fprintf() to stderr to print the prompt.  That apparently doesn't
use the same encoding, or perhaps by now the string has been encoded as
UTF-8.

This is clearly a problem.  But what to do about it...
History
Date User Action Args
2008-01-03 06:15:00gvanrossumsetspambayes_score: 0.0259299 -> 0.025929932
recipients: + gvanrossum, loewis, amaury.forgeotdarc, christian.heimes, vbr
2008-01-03 06:15:00gvanrossumsetspambayes_score: 0.0259299 -> 0.0259299
messageid: <1199340900.36.0.483404716503.issue1688@psf.upfronthosting.co.za>
2008-01-03 06:15:00gvanrossumlinkissue1688 messages
2008-01-03 06:14:59gvanrossumcreate