Message10265

Author jeff.allen
Recipients jeff.allen, liuxy_hes86, zyasoft
Date 2015-09-19.09:51:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1442656284.97.0.860512347704.issue2356@psf.upfronthosting.co.za>
In-reply-to
Content
We're both right. Running Jython 2.7.1b1 founders on #2397, but running a version with that fix, it dies importing site packages.

C:\Users\用户名\Documents\Jython> %jt%\dist\bin\jython
Exception in thread "main" Traceback (most recent call last):
  File "C:\Users\Jeff\Documents\Eclipse\jython-trunk\dist\Lib\site.py", line 585, in <module>
...
UnicodeEncodeError: 'ascii' codec can't encode characters in position 9-11: ordinal not in range(128)

Skip the site import and you can get a prompt.

C:\Users\用户名\Documents\Jython> %jt%\dist\bin\jython -S
Jython 2.7.1 (default:26d248c72b90+, Sep 19 2015, 08:44:17)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.7.0_60
>>>

I think it would do us all good to work under Chinese user names for a while!
History
Date User Action Args
2015-09-19 09:51:24jeff.allensetmessageid: <1442656284.97.0.860512347704.issue2356@psf.upfronthosting.co.za>
2015-09-19 09:51:24jeff.allensetrecipients: + jeff.allen, zyasoft, liuxy_hes86
2015-09-19 09:51:24jeff.allenlinkissue2356 messages
2015-09-19 09:51:23jeff.allencreate