X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=db2bkmk.py;h=7d1d9aa19f1c46fdebd47e45f859ab7a7c7e2ba7;hb=ac86c51f608426450dfecc62163a52c9879d49ca;hp=07e2756cae6e547d40064458db8422d86df49f41;hpb=aaa16e28a73fcc01ff9fa5709c72970bb50629d7;p=bookmarks_db.git diff --git a/db2bkmk.py b/db2bkmk.py index 07e2756..7d1d9aa 100755 --- a/db2bkmk.py +++ b/db2bkmk.py @@ -97,7 +97,7 @@ def run(): root_folder.walk_depth(Transl(transl_d)) - outfile = open(output_filename, 'w') + outfile = open(output_filename, 'wt', encoding='utf-8') root_folder.walk_depth(writer(outfile, prune)) outfile.close()