From 94f958382e9318bebb1b6bb4f9aaeb7c3f44c196 Mon Sep 17 00:00:00 2001 From: clach04 Date: Sat, 8 Jan 2022 15:57:26 -0800 Subject: [PATCH] Fix issue #4 - Microsoft Windows support --- tab2opf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tab2opf.py b/tab2opf.py index 20064b6..919b3a7 100755 --- a/tab2opf.py +++ b/tab2opf.py @@ -183,7 +183,7 @@ def readkeys(): def writekeyfile(name, i): fname = "{}{}.html".format(name, i) if VERBOSE: print("Key file: {}".format(fname)) - with open(fname, 'w') as to: + with open(fname, 'w', encoding='utf-8') as to: to.write("""