ninia / jep

Embed Python in Java
Other
1.27k stars 146 forks source link

Call a python function reported an error UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 128: illegal multibyte sequence #524

Open wangminglyx opened 3 months ago

wangminglyx commented 3 months ago

Describe the problem I had run this demo for several months, but two days ago, i upgraded my python algorithm and run it again, it reported an error like this Weixin Image_20240329140520 according to debugging , it fails in this part: synchronized(this) { this.thread.start(); try { this.wait(); } catch (InterruptedException var4) { if (this.error != null) { this.error = var4; } } } how to fix this problem please?

Environment (please complete the following information):

wangminglyx commented 3 months ago

when I changed windows language setting to utf-8, the error became this: 企业微信截图_17121286891510