java-jython调用python的报错Cannot create PyString with non-byte value

jython版本:2.7.0+

传递的参数包含中文时,运行报错:java.lang.IllegalArgumentException: Cannot create PyString with non-byte value

 

jython版本替换为2.5.2运行正常,但是返回的内容中包含中文,则显示:?

java-jython调用python的报错Cannot create PyString with non-byte value

暂无解决方案