summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r--perl-install/lang.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index bea273a31..73e4a76d5 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -1048,6 +1048,7 @@ sub lang_to_ourlocale {
my ($lang) = @_;
my $locale = system_locales_to_ourlocale($lang);
+ $locale->{utf8} ||= utf8_should_be_needed($locale);
lang_changed($locale);
$locale;
}