Message6711
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? |
|
Date |
User |
Action |
Args |
2011-11-06 22:55:33 | irmen | set | messageid: <1320620133.71.0.682814931419.issue1807@psf.upfronthosting.co.za> |
2011-11-06 22:55:33 | irmen | set | recipients:
+ irmen, ssoldatenko |
2011-11-06 22:55:33 | irmen | link | issue1807 messages |
2011-11-06 22:55:33 | irmen | create | |
|