diff options
author | Pablo Saratxaga <pablo@mandriva.com> | 2002-12-04 17:38:48 +0000 |
---|---|---|
committer | Pablo Saratxaga <pablo@mandriva.com> | 2002-12-04 17:38:48 +0000 |
commit | 517fc0730e017fb9b231b575f29da8d81bf1de7f (patch) | |
tree | 9b923bbf8f120be493c8c8f7d5a641be87f029d2 | |
parent | a7876db596dcc5148d13647c5913a1099c6773e7 (diff) | |
download | drakx-backup-do-not-use-517fc0730e017fb9b231b575f29da8d81bf1de7f.tar drakx-backup-do-not-use-517fc0730e017fb9b231b575f29da8d81bf1de7f.tar.gz drakx-backup-do-not-use-517fc0730e017fb9b231b575f29da8d81bf1de7f.tar.bz2 drakx-backup-do-not-use-517fc0730e017fb9b231b575f29da8d81bf1de7f.tar.xz drakx-backup-do-not-use-517fc0730e017fb9b231b575f29da8d81bf1de7f.zip |
made 'en_US.UTF-8' the default locale for LC_* varaibles during isntall
-rw-r--r-- | perl-install/lang.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm index 270f902e6..738bcb35c 100644 --- a/perl-install/lang.pm +++ b/perl-install/lang.pm @@ -589,15 +589,15 @@ sub set { #- set all LC_* variables to a unique locale ("C"), and only redefine #- LC_CTYPE (for X11 choosing the fontset) and LANGUAGE (for the po files) - $ENV{$_} = 'C' foreach qw(LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION); + $ENV{$_} = 'en_US.UTF-8' foreach qw(LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION); #- use lang2LANG() to define LC_CTYPE, so DrakX will use a same encoding #- for all variations of a same language, eg both 'ru_RU.KOI8-R' and #- 'ru_RU.UTF-8' will be handled the same (as 'ru') by DrakX. #- that way DrakX only needs a reduced set of locale and fonts support. #- of course on the installed system they will be different. - $ENV{LC_CTYPE} = lang2LANG($lang); - $ENV{LC_MESSAGES} = lang2LANG($lang); + $ENV{LC_CTYPE} = 'en_US.UTF-8'; + $ENV{LC_MESSAGES} = 'en_US.UTF-8'; $ENV{LANG} = lang2LANG($lang); if ($translate_for_console && $lang =~ /^(ko|ja|zh|th)/) { |