Message8448
Jython 2.7b2 running on java1.8.0_05 on Windows 7 and 8 does not
handle multiline input in the REPL correctly. In situations where
a command must span lines, Jython 2.7b2 aborts with a LookupError
on the encoding. This occurs for the legacy but default MS-DOS
codepage 437, for the Windows codepage 1252, and for the UTF-8
codepage 65001 (which Jython thinks is us-ascii).
Examples follow:
C:\Users\emcdowell\progs\jython>java -jar jython.jar
Jython 2.7b2 (default:a5bc0032cf79+, Apr 22 2014, 21:20:17)
[Java HotSpot(TM) Client VM (Oracle Corporation)] on java1.8.0_05
>>> 2 + 3
5
>>> 2 +
LookupError: no codec search functions registered: can't find encoding 'ibm437'
C:\Users\emcdowell\progs\jython>chcp 65001
Active code page: 65001
C:\Users\emcdowell\progs\jython>java -jar jython.jar
console: Failed to install 'org.python.util.JLineConsole': java.nio.charset.UnsupportedCharsetException: cp65001.
console: Failed to install 'org.python.util.JLineConsole': java.nio.charset.UnsupportedCharsetException: cp65001.
Jython 2.7b2 (default:a5bc0032cf79+, Apr 22 2014, 21:20:17)
[Java HotSpot(TM) Client VM (Oracle Corporation)] on java1.8.0_05
>>> 2 + 3
5
>>> 2 +
LookupError: no codec search functions registered: can't find encoding 'us-ascii'
C:\Users\emcdowell\progs\jython> |
|
Date |
User |
Action |
Args |
2014-05-20 18:16:41 | emcdowell | set | recipients:
+ emcdowell |
2014-05-20 18:16:41 | emcdowell | set | messageid: <1400609801.87.0.440659043993.issue2151@psf.upfronthosting.co.za> |
2014-05-20 18:16:41 | emcdowell | link | issue2151 messages |
2014-05-20 18:16:40 | emcdowell | create | |
|