Message6399
Jython doesn't allow to use unmapped unicode codepoint. CPython works fine with it.
% uname -a
Darwin amp.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
% cat foo.py
# Taken from CPythonLib/test/test_multibytecodec_support.py
unmappedunicode = u'\udeee' # a unicode codepoint that is not mapped.
% ./dist/bin/jython foo.py
UnicodeDecodeError: 'unicodeescape' codec can't decode bytes in position 2-8: illegal Unicode character
% ./dist/bin/jython --version
Jython 2.5.2rc3
% python2.6 foo.py
% python2.6 --version
Python 2.6.5
% ./dist/bin/jython
Jython 2.5.2rc3 (trunk:7195, 2 16 2011, 11:23:40)
[Java HotSpot(TM) 64-Bit Server VM (Apple Inc.)] on java1.6.0_22
Type "help", "copyright", "credits" or "license" for more information.
>>> unmappedunicode = u'\udeee'
... |
|
Date |
User |
Action |
Args |
2011-02-16 03:34:57 | yyamano | set | messageid: <1297827297.52.0.743476588129.issue1707@psf.upfronthosting.co.za> |
2011-02-16 03:34:57 | yyamano | set | recipients:
+ yyamano |
2011-02-16 03:34:57 | yyamano | link | issue1707 messages |
2011-02-16 03:34:57 | yyamano | create | |
|