diff options
-rw-r--r-- | perl-install/NEWS | 2 | ||||
-rw-r--r-- | perl-install/lang.pm | 1 |
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; } |