Message8631

Author jeff.allen
Recipients jeff.allen, rpan, zyasoft
Date 2014-06-12.07:36:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1402558574.76.0.306946763593.issue2123@psf.upfronthosting.co.za>
In-reply-to
Content
The console hang is now corrected in http://hg.python.org/jython/rev/eef3fcffc58a .

As noted, further disappointments are in store for the user of codepage 936 until 1) #1066 is resolved, and 2) Jython is able to recognise the equivalence of the Java and Python codecs. This is because, eventually, someone will do the equivalent of codecs.lookup(sys.stdout.encoding),
which will contain the name Java chose.

I'll hold this open for now as a reminder about 2). I think we could solve that either by trying the alias names of the Java codec, to find one Python likes, probably here: http://hg.python.org/jython/file/eef3fcffc58a/src/org/python/core/PySystemState.java#l274, or by adding the Java-canonical name to aliases.py.

Even without that, once #1066 is in place, I expect the environment variable PYTHONIOENCODING, set to a name both Python and Java recognise, would work around problem 2).
History
Date User Action Args
2014-06-12 07:36:14jeff.allensetmessageid: <1402558574.76.0.306946763593.issue2123@psf.upfronthosting.co.za>
2014-06-12 07:36:14jeff.allensetrecipients: + jeff.allen, zyasoft, rpan
2014-06-12 07:36:14jeff.allenlinkissue2123 messages
2014-06-12 07:36:14jeff.allencreate