Suture_Box icon indicating copy to clipboard operation
Suture_Box copied to clipboard

windows下utf-8编码问题

Open ArthurSun1 opened this issue 2 years ago • 1 comments

system/exec_command.py: def dismap_cms(cmd): b = os.popen(cmd) msg = b.buffer.read().decode('utf-8') return msg

controller/controller.py: 第68行 file = open(f'{path}/output.txt','r',encoding="utf-8")

ArthurSun1 avatar Apr 24 '22 18:04 ArthurSun1

system/exec_command.py: def dismap_cms(cmd): b = os.popen(cmd) msg = b.buffer.read().decode('utf-8') return msg

controller/controller.py: 第68行 file = open(f'{path}/output.txt','r',encoding="utf-8")

有报错信息的图片吗

F6JO avatar Apr 25 '22 01:04 F6JO