Python3.X RobotFrameWork-解决中文乱码

原文链接:https://blog.csdn.net/qq_40386321/article/details/103821539

 

中文乱码:

找到文件\Python\Python37\Lib\site-packages\robotide\contrib\testrunner\testrunnerplugin.py

修改内容
  textctrl.AppendTextRaw(bytes(string, encoding[‘SYSTEM’]))
改成:
  textctrl.AppendTextRaw(bytes(string, encoding[‘OUTPUT’]))

重启ride.py文件

posted @ 2020-06-23 16:12  字符蹚浑水  阅读(11)  评论(0编辑  收藏  举报