I would like to know if jython 2.5a1 support euc_jp encoding or not. The directory jython25a1/Lib/encodings does have euc_jp.py. But when I tried to use it, I got LookupError saying it's an unknown encoding. Is there something missing?

Thanks for your help.


Jython 2.5a1+ (asm:4943:4945, Jul 15 2008, 15:30:04)
[Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.6.0_05
Type "help", "copyright", "credits" or "license" for more information.
>>> c=u'\u4f7f\u7528'
>>> c
>>> len(c)
>>> c2=c.encode('euc_jp')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
LookupError: unknown encoding euc_jp