I cannot get Jython 2.5.2 to correctly handle UTF characters when executing the following sort of lines. I can get Kanji to out correctly if I call one of my Java routines that returns a string that contains Kanji – so it seems like an “input” issue. Any ideas?


>>>print 'test kanji - こんにちは'

test kanji - こんにちは



>>> execfile('C:/temp/こんにちは/test.py')

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

IOError: [Errno 2] File not found - C:\temp\こんにちは\test.py (The system cannot find the path specified)