Message6947
I expected Jython to support at least the same encodings that JVM supports. It turned out I was wrong:
$ jython
Jython 2.5.2 (Release_2_5_2:7206, Mar 2 2011, 23:12:06)
[Java HotSpot(TM) Server VM (Sun Microsystems Inc.)] on java1.6.0_21
Type "help", "copyright", "credits" or "license" for more information.
>>> from java.nio.charset import Charset
>>> for c in sorted(Charset.availableCharsets()):
... print c
... 'x'.encode(c)
...
Big5
Traceback (most recent call last):
File "<stdin>", line 3, in <module>
LookupError: unknown encoding 'big5' |
|
Date |
User |
Action |
Args |
2012-03-21 05:29:02 | pekka.klarck | set | recipients:
+ pekka.klarck |
2012-03-21 05:29:02 | pekka.klarck | set | messageid: <1332307742.32.0.777046386515.issue1865@psf.upfronthosting.co.za> |
2012-03-21 05:29:02 | pekka.klarck | link | issue1865 messages |
2012-03-21 05:29:01 | pekka.klarck | create | |
|