Message6711

Author irmen
Recipients irmen, ssoldatenko
Date 2011-11-06.22:55:33
SpamBayes Score 0.00639634
Marked as misclassified No
Message-id <1320620133.71.0.682814931419.issue1807@psf.upfronthosting.co.za>
In-reply-to
Content
in PySystemState.java there is this code fragment in initEncoding:

            if (stdStream.isatty()) {
                stdStream.encoding = encoding;
            }

So the encoding is only applied if the stream is a tty. 
When the check was removed, your code example works fine.
I'm not sure why this check is there?
History
Date User Action Args
2011-11-06 22:55:33irmensetmessageid: <1320620133.71.0.682814931419.issue1807@psf.upfronthosting.co.za>
2011-11-06 22:55:33irmensetrecipients: + irmen, ssoldatenko
2011-11-06 22:55:33irmenlinkissue1807 messages
2011-11-06 22:55:33irmencreate