提交 490b83c7 创建 作者: 王晓庆's avatar 王晓庆

2

上级 8ab8fb3a
流水线 #118608 已通过 于阶段
用时 27 秒
...@@ -92,10 +92,10 @@ def my_msg_handler(msgstate, severity, srvname, procname, line, msgtext): ...@@ -92,10 +92,10 @@ def my_msg_handler(msgstate, severity, srvname, procname, line, msgtext):
""" """
# type = sys.getfilesystemencoding() # type = sys.getfilesystemencoding()
print(yellow("%s" % msgtext)) # print(yellow("%s" % msgtext))
# print(str(msgtext, encoding='utf-8')) # print(str(msgtext, encoding='utf-8'))
# print(yellow("%s" % msgtext.decode('utf-8'))) print(yellow("%s" % msgtext.decode('utf-8')))
# print(yellow("%s" % msgtext.encode('utf-8'))) print(yellow("%s" % msgtext.encode('utf-8')))
# 主函数 # 主函数
if __name__ == '__main__': if __name__ == '__main__':
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论