summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-09-09 12:10:03 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-09-09 12:10:03 +0000
commit3130c67157721f8e29c6cddf3c9a8fba12ba61f0 (patch)
tree9ee7564643a981cb952c66cc61e894d6fd13de87
parentb7dc7bf69a4d1efa18578ab41bbe06972ba13435 (diff)
downloaddrakx-backup-do-not-use-3130c67157721f8e29c6cddf3c9a8fba12ba61f0.tar
drakx-backup-do-not-use-3130c67157721f8e29c6cddf3c9a8fba12ba61f0.tar.gz
drakx-backup-do-not-use-3130c67157721f8e29c6cddf3c9a8fba12ba61f0.tar.bz2
drakx-backup-do-not-use-3130c67157721f8e29c6cddf3c9a8fba12ba61f0.tar.xz
drakx-backup-do-not-use-3130c67157721f8e29c6cddf3c9a8fba12ba61f0.zip
(write) fix ENC setting too (like thai IM, it got broken when
analyse_locale_name and the like were added it seems)
-rw-r--r--perl-install/lang.pm4
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') {