RobotFramework solves the Chinese garbled problem

RobotFramework solves the Chinese garbled problem

1. Find the testrunnerplugin.py file in the python installation directory

D:\PYTHONANZHUANG\Lib\sitepackages\
robotide\contrib\
testrunner\testrunnerplugin.py

file
(2) Edit the encoding content of the estrunnerplugin.py file

encoding = {
    
    'CONSOLE': CONSOLE_ENCODING,
            'SYSTEM': OUTPUT_ENCODING,
            'OUTPUT': OUTPUT_ENCODING}

file

Note:
Use to python ride.pyrestart RIDE

Guess you like

Origin blog.csdn.net/qq_38484679/article/details/115351189
Recommended