Message5631

Author pjenvey
Recipients fwierzbicki, pjenvey, yanne
Date 2010-04-04.19:01:41
SpamBayes Score 2.740698e-06
Marked as misclassified No
Message-id <1270407702.36.0.739265347525.issue1568@psf.upfronthosting.co.za>
In-reply-to
Content
This is a long standing problem on the JVM. We use the JVM's file.encoding property for the console encoding. Unfortunately Windows uses a separate encoding for its console (usually the older cp437 codepage)

I believe Java 6's Console class now determines the correct encoding for stdout/err, but it keeps that information private. I suppose we could steal that information via reflection

In the meantime you can force the console encoding via the python.console.encoding property. You can edit your registry to force this or pass that argument on the command line
History
Date User Action Args
2010-04-04 19:01:42pjenveysetmessageid: <1270407702.36.0.739265347525.issue1568@psf.upfronthosting.co.za>
2010-04-04 19:01:42pjenveysetrecipients: + pjenvey, fwierzbicki, yanne
2010-04-04 19:01:42pjenveylinkissue1568 messages
2010-04-04 19:01:41pjenveycreate