# HG changeset patch # User Jan Kanis # Date 1404834682 -7200 # Node ID ea3bc0b9a3d9400594227f17b3f950ad4d546b4f # Parent 1faac255ae3c2bf5fc5b0f1eaf7d343538ca38c8 fix (again) output encoding diff -r 1faac255ae3c -r ea3bc0b9a3d9 blast2html.py --- a/blast2html.py Tue Jul 08 17:05:54 2014 +0200 +++ b/blast2html.py Tue Jul 08 17:51:22 2014 +0200 @@ -469,7 +469,7 @@ # args.output.writelines = fixed_writelines args.output.close() - args.output = io.open(args.output.name, 'w') + args.output = io.open(args.output.name, 'w', encoding='utf-8') templatedir, templatename = path.split(args.template.name) args.template.close()