From: Mike Gilbert Date: Sat, 24 Sep 2016 01:01:55 +0000 (-0400) Subject: python-utils-r1.eclass: try C.UTF-8 and en_GB.UTF-8 in python_export_utf8_locale X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=7db89b8b902e3c2ee943e78e91a7534a898ae582;p=gentoo.git python-utils-r1.eclass: try C.UTF-8 and en_GB.UTF-8 in python_export_utf8_locale --- diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index bf833eb99007..60eedf7e2ab3 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -1232,7 +1232,7 @@ python_export_utf8_locale() { if [[ $(locale charmap) != UTF-8 ]]; then # Try English first, then everything else. - local lang locales="en_US.UTF-8 $(locale -a)" + local lang locales="C.UTF-8 en_US.UTF-8 en_GB.UTF-8 $(locale -a)" for lang in ${locales}; do if [[ $(LC_ALL=${lang} locale charmap 2>/dev/null) == UTF-8 ]]; then