Jython 'unknown enocoding ms932' on japanese system

Posted by Houtman on Stack Overflow See other posts from Stack Overflow or by Houtman
Published on 2012-08-28T11:57:03Z Indexed on 2012/10/10 3:37 UTC
Read the original article Hit count: 243

Filed under:
|
|
|
|

i've written a program in Jython 2.5.1 which works fine on my Windows 7 machine, but on a japanese machine it throws an Exception saying "unknown encoding 'ms932'"

i found that codecs.java is the only module printing the unknown encoding 'xyz' message

this file loads aliases.py which does contain

# cp932 codec
'932'                : 'cp932',
'ms932'              : 'cp932',
'mskanji'            : 'cp932',
'ms_kanji'           : 'cp932',

The file cp932.py contains

 import _codecs_jp, codecs

But.. _codecs_jp does not exist as is also discussed in this page Does anyone have a clue where to go from here ?

http://web.archiveorange.com/archive/v/8tc1Zc2rV3qiUcy9zPlA

© Stack Overflow or respective owner

Related posts about python

Related posts about unicode