]> git.phdru.name Git - bookmarks_db.git/blobdiff - db2bkmk.py
Fix(Py3): Open output text files in utf-8 encoding
[bookmarks_db.git] / db2bkmk.py
index 07e2756cae6e547d40064458db8422d86df49f41..4e50101c6176318b377475c5704544d3595b31f0 100755 (executable)
@@ -97,7 +97,7 @@ def run():
 
         root_folder.walk_depth(Transl(transl_d))
 
-    outfile = open(output_filename, 'w')
+    outfile = open(output_filename, 'w', encoding='utf-8')
     root_folder.walk_depth(writer(outfile, prune))
     outfile.close()