Author psykiatris
Recipients psykiatris
Date 2017-12-04.07:20:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Playing with Jython 2.7.2a1+

I don't know if this is a Jython issue or Java issue. 

Basically, my script creats a GregorianCalendar object, and attempts to show the names of each month in whatever language. It wroks as expected. But when I pass a graphical language (like Korean) or extended characters (like Vietnamese) it fails with the following error:

ko 12  <<<<<<< starts off fine...
Traceback (most recent call last):
  File "", line 13, in <module>
    print loc, x, gc.getDisplayNames(2,2,loc)
java.lang.IllegalArgumentException: Cannot create PyString with non-byte value

If I change the method to getDisplayName(2,2,loc), It works correctly, showing the graphics for the current month

I figure the code that works for getDisplayName should also be in getDisplayNames. I can probably review it and correct it, but I'm familiar with commiitting and pushing my own code. But I get nervous mucking with someone else's.
Date User Action Args
2017-12-04 07:20:45psykiatrissetrecipients: + psykiatris
2017-12-04 07:20:45psykiatrissetmessageid: <>
2017-12-04 07:20:45psykiatrislinkissue2649 messages
2017-12-04 07:20:44psykiatriscreate