diff options
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') { |