RF修改乱码问题
1.找到文件unic.py
目录:D:\Program Files\python2\Lib\site-packages\robot\utils
2.在文件中增加以下内容:
if isinstance(item, (list, dict,tuple)): try: item= json.dumps(item, ensure_ascii=False, encoding='utf-8') except UnicodeDecodeError: try: item= json.dumps(item, ensure_ascii=False, encoding='utf-8') except: pass except: pass
3.重启RF