From 73db908923f37f3494c7cfa334c8eb650c999260 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 12 Aug 2008 10:10:07 +0000 Subject: default to UTF-8 for chinese simplified (#42137) --- perl-install/any.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/any.pm') diff --git a/perl-install/any.pm b/perl-install/any.pm index 1b83e7e71..999cf07b6 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -982,7 +982,7 @@ when your installation is complete and you restart your system.")), format => sub { $_[0] =~ /(.*\|)(.*)/ ? $1 . lang::l2name($2) : lang::l2name($_[0]) }, list => \@langs, sort => !$in->isa('interactive::gtk'), changed => sub { #- very special cases for langs which do not like UTF-8 - $non_utf8 = $lang =~ /\bzh/ if !$utf8_forced; + $non_utf8 = $lang =~ /\bzh_TW/i if !$utf8_forced; }, focus_out => sub { $langs->{$listval2val->($lang)} = 1 } }, { val => \$non_utf8, type => 'bool', text => N("Old compatibility (non UTF-8) encoding"), advanced => 1, changed => sub { $utf8_forced = 1 } }, -- cgit v1.2.1