summaryrefslogtreecommitdiffstats
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
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)
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/lang.pm1
2 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 7bed8789c..37852125a 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- finish-install:
+ o fix setting utf8 when using lang=xx from /proc/cmdline (#43566)
- services (thanks to spuk):
o list ip6tables in "Internet" category
o list nfs-common and nfs-server in "File sharing" category
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;
}