diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-09-09 12:10:03 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-09-09 12:10:03 +0000 |
commit | 3130c67157721f8e29c6cddf3c9a8fba12ba61f0 (patch) | |
tree | 9ee7564643a981cb952c66cc61e894d6fd13de87 /perl-install/lang.pm | |
parent | b7dc7bf69a4d1efa18578ab41bbe06972ba13435 (diff) | |
download | drakx-3130c67157721f8e29c6cddf3c9a8fba12ba61f0.tar drakx-3130c67157721f8e29c6cddf3c9a8fba12ba61f0.tar.gz drakx-3130c67157721f8e29c6cddf3c9a8fba12ba61f0.tar.bz2 drakx-3130c67157721f8e29c6cddf3c9a8fba12ba61f0.tar.xz drakx-3130c67157721f8e29c6cddf3c9a8fba12ba61f0.zip |
(write) fix ENC setting too (like thai IM, it got broken when
analyse_locale_name and the like were added it seems)
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r-- | perl-install/lang.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm index ce2d29709..dde101511 100644 --- a/perl-install/lang.pm +++ b/perl-install/lang.pm @@ -1018,8 +1018,8 @@ sub write { } add2hash($h, $IM_locale_specific_config{$h->{LANG}}); - $h->{ENC} = $locale2encoding{$locale->{lang}}; - $h->{ENC} = 'utf8' if member($locale->{lang}, qw(ja_JP.UTF-8 ko_KR.UTF-8 zh_CN.UTF-8 zh_HK.UTF-8 zh_SG.UTF-8 zh_TW.UTF-8)); + $h->{ENC} = $locale2encoding{$h->{LANG}}; + $h->{ENC} = 'utf8' if member($h->{LANG}, qw(ja_JP.UTF-8 ko_KR.UTF-8 zh_CN.UTF-8 zh_HK.UTF-8 zh_SG.UTF-8 zh_TW.UTF-8)); my $im = $locale->{IM}; if ($im && $im ne 'None') { |