diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index bf833eb990074..60eedf7e2ab30 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