summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-11 10:24:34 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-11 10:24:34 +0000
commit73eac387a477534fea85c9063388afe1bfb1f61f (patch)
tree99c06eb77630a381320ce1fcdfb6207262464cf1 /perl-install/lang.pm
parentf7b75a7381910d6a93ae20d180373b45b59f8e77 (diff)
downloaddrakx-73eac387a477534fea85c9063388afe1bfb1f61f.tar
drakx-73eac387a477534fea85c9063388afe1bfb1f61f.tar.gz
drakx-73eac387a477534fea85c9063388afe1bfb1f61f.tar.bz2
drakx-73eac387a477534fea85c9063388afe1bfb1f61f.tar.xz
drakx-73eac387a477534fea85c9063388afe1bfb1f61f.zip
- finish-install:
o fix setting utf8 when using lang=xx from /proc/cmdline (#43566)
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;
}