"vscode:/vscode.git/clone" did not exist on "2e2684f014a62bdb690e6b439e946068eb304fb6"
Unverified Commit e03e52a2 authored by jaycecd's avatar jaycecd Committed by GitHub
Browse files

bugfix: unable to save Korean to the specified file: system_results.txt (#5855)

parent 6c68808a
......@@ -195,7 +195,7 @@ def main(args):
text_sys.text_detector.autolog.report()
text_sys.text_recognizer.autolog.report()
with open(os.path.join(draw_img_save_dir, "system_results.txt"), 'w') as f:
with open(os.path.join(draw_img_save_dir, "system_results.txt"), 'w', encoding='utf-8') as f:
f.writelines(save_results)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment