From adff486c9b4f2003f0c54ace6b8cec6a37dabfc7 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Mon, 8 Feb 2016 12:42:52 +0100 Subject: [PATCH] UTF-8 output --- tools/machinetag.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/machinetag.py b/tools/machinetag.py index 60eb94b..9ce45e4 100755 --- a/tools/machinetag.py +++ b/tools/machinetag.py @@ -118,4 +118,4 @@ for taxonomy in taxonomies: print ("--> " + machineTag(namespace=namespace, predicate=expanded, value=v['expanded'])) if args.a: - print (doc) + print (doc.encode('utf-8'))