RIDE的log没有问题,但是输出的控制台信息中有乱码。
修改:python文件中encoding方式
\Lib\site-packages\robotide\contrib\testrunner\testrunnerplugin.py
代码修改前:
textctrl.AppendTextRaw(bytes(string, encoding['SYSTEM'])) # DEBUG .encode('utf-8'))
代码修改后:
textctrl.AppendTextRaw(bytes(string, encoding['OUTPUT'])) # DEBUG .encode('utf-8'))
参考:
https://blog.youkuaiyun.com/kongsuhongbaby/article/details/97116066