Message10282
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. |
|
Date |
User |
Action |
Args |
2015-09-23 14:58:37 | holmis83 | set | recipients:
+ holmis83 |
2015-09-23 14:58:37 | holmis83 | set | messageid: <1443020317.25.0.420198931732.issue2402@psf.upfronthosting.co.za> |
2015-09-23 14:58:37 | holmis83 | link | issue2402 messages |
2015-09-23 14:58:36 | holmis83 | create | |
|