Message10282

Author holmis83
Recipients holmis83
Date 2015-09-23.14:58:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1443020317.25.0.420198931732.issue2402@psf.upfronthosting.co.za>
In-reply-to
Content
When returning a str object from Python script to Java using the JSR223 interface, it will be converted to a Java String. It should be converted to Java byte[], since a Python str is really a plain sequence of bytes. The current behaviour is error-prone, for exampe; printing a Java String that is converted from an UTF8-encoded str gives incorrect result.

Python unicode should still be converted to Java String by default, as it is now.
History
Date User Action Args
2015-09-23 14:58:37holmis83setrecipients: + holmis83
2015-09-23 14:58:37holmis83setmessageid: <1443020317.25.0.420198931732.issue2402@psf.upfronthosting.co.za>
2015-09-23 14:58:37holmis83linkissue2402 messages
2015-09-23 14:58:36holmis83create