X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=devel%2Fnmbug%2Fnmbug-status;h=ef7169a6f4cb642f54155b9d0682794606df6cf9;hb=320d4a856eca6f7d4363b3465e7032e658913ece;hp=c4532f1873799e1693fd9d3c60b979f444019f7e;hpb=ffed8f2866a567d52eebeca02d3c362de07efc9d;p=notmuch diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status index c4532f18..ef7169a6 100755 --- a/devel/nmbug/nmbug-status +++ b/devel/nmbug/nmbug-status @@ -13,7 +13,6 @@ import codecs import collections import datetime import email.utils -import locale try: # Python 3 from urllib.parse import quote except ImportError: # Python 2 @@ -27,7 +26,7 @@ import subprocess import xml.sax.saxutils -_ENCODING = locale.getpreferredencoding() or sys.getdefaultencoding() +_ENCODING = 'UTF-8' _PAGES = {}