X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=sort_db.py;h=bcd3a8ed6aa50387ec3766ed75dc0e7af7c62c5b;hb=865ee60d6e5813866423b4481ff5ed3411a1a7fe;hp=143c7d1349c44be69406dc4137f3c1d88c10d23a;hpb=4ea75aed268e3d34863a0002a76329202ffe75ec;p=bookmarks_db.git diff --git a/sort_db.py b/sort_db.py index 143c7d1..bcd3a8e 100755 --- a/sort_db.py +++ b/sort_db.py @@ -99,7 +99,7 @@ def run(): sys.stdout.write("Writing %s: " % output_filename) sys.stdout.flush() - outfile = open(output_filename, 'w') + outfile = open(output_filename, 'w', encoding='utf-8') writer = writer(outfile) writer.root_folder(root_folder) walk_linear(linear, writer)