]> git.cworth.org Git - notmuch/blobdiff - devel/nmbug/nmbug-status
nmbug-status: Hardcode UTF-8 instead of using the user's locale
[notmuch] / devel / nmbug / nmbug-status
index c4532f1873799e1693fd9d3c60b979f444019f7e..ef7169a6f4cb642f54155b9d0682794606df6cf9 100755 (executable)
@@ -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 = {}