summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-11-16 17:04:42 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-11-16 17:04:42 +0000
commit770329824f4cb30d5e5c05b39838a6307580953d (patch)
treea6161582d68879fe197d584b8248140536556845 /perl-install/lang.pm
parentbb6c8a9c0b00b9a8eea7648dc89309769fece915 (diff)
downloaddrakx-770329824f4cb30d5e5c05b39838a6307580953d.tar
drakx-770329824f4cb30d5e5c05b39838a6307580953d.tar.gz
drakx-770329824f4cb30d5e5c05b39838a6307580953d.tar.bz2
drakx-770329824f4cb30d5e5c05b39838a6307580953d.tar.xz
drakx-770329824f4cb30d5e5c05b39838a6307580953d.zip
fix typo (thanks to bugzilla #12387)
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r--perl-install/lang.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 78b554d34..4ba80e120 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -945,7 +945,7 @@ sub system_locales_to_ourlocale {
$h->{main};
$locale->{lang} .= '@' . $h->{variant} if $h->{variant};
$locale->{country} = analyse_locale_name($locale_country)->{country};
- $locale->{utf8} = $h->{encoding} && $h->{encoding} eq 'UTF-8';
+ $locale->{utf8} = $h->{charset} && $h->{charset} eq 'UTF-8';
#- safe fallbacks
$locale->{lang} ||= 'en_US';
$locale->{country} ||= 'US';