当前位置:网站首页>robotframework日志输出中文乱码
robotframework日志输出中文乱码
2022-04-21 19:04:00 【跑马的汉子睡眠不足】
一、环境说明
python版本:3.7.3
robotframework版本:3.1
robotframwork-ride版本:1.7.4.2
二、问题描述
robotframework日志输出时出现中文以unicode编码方式,如下图所示:

三、解决方案
(1) 找到目录:C:\python373\Lib\site-packages\robotide\contrib\testrunner下的testrunnerplugin.py文件。
(2) 修改第565行,把 encoding[‘SYSTEM’]) 改为 encoding[‘OUTPUT’])
(3) 重启ride工具,再运行,结果展示如下:

版权声明
本文为[跑马的汉子睡眠不足]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_43833100/article/details/124321792
边栏推荐
- Apache Doris创建动态分区
- PAT (Advanced Level) 1096——Consecutive连续的
- Which wireless Bluetooth headset is easier to use? 2022 Bluetooth headset recommendations
- How to call the login, playback address and video playback interface of easycvr platform?
- APM industry awareness series - IX
- Niu Ke - alternative addition
- APM industry awareness series - eight - 25 advantages of Devops
- How to classify cosmetics in the management system?
- [untitled]
- 如何调用EasyCVR平台的登录、播放地址、录像回看接口?
猜你喜欢
随机推荐
全职加入清华,丘成桐:为祖国、为全球数学界培养数学人才
Qianxin monitoring equipment --- Jiaotu
APM industry awareness series - VII - 17 Ways to define Devops
低密度脂蛋白研究丨LDL-C含量检测试剂盒方案
Leetcode 824. Goat Latin
mysql日期转星期
Daily question series: water bottle
Context in programming
Leetcode 824.山羊拉丁文
Analytic robot intelligent reasoning planning
Interpretation of the sense of responsibility of autonomous robots
Svg series - 2, draw some shapes
PHP + Redis抢购秒杀
Can the stadium system be connected to other intelligent devices
JS——new Date()实例
MySQL去重查询
Introduction to GPS Beidou satellite time synchronization system (clock device) technology of power grid
C语言快速排序问题
In the El input search in ement, the matching input suggestions after input must have the value attribute
How much can I get a month with a PMP certificate







