From 57af50e162660e0f03abf84f89dc33338f79fc36 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Fri, 9 Aug 2013 19:58:29 +0000 Subject: [PATCH] Ensure en_US encoding is UTF-8 svn: r22832 --- gramps/gen/utils/grampslocale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gen/utils/grampslocale.py b/gramps/gen/utils/grampslocale.py index 0c92daddd..11f0ccf70 100644 --- a/gramps/gen/utils/grampslocale.py +++ b/gramps/gen/utils/grampslocale.py @@ -434,7 +434,7 @@ class GrampsLocale(object): # a lot of locales. lang = locale.normalize(self.language[0] if self.language[0] else 'C') check_lang = lang.split('.') - if not check_lang[0] in ('C', 'en', 'en_US'): + if not check_lang[0] in ('C', 'en'): if len(check_lang) < 2 or check_lang[1] not in ("utf-8", "UTF-8"): lang = '.'.join((check_lang[0], 'UTF-8'))