From b6de65c3ac8f7391220509a84854777dbe66b1a1 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 17 Mar 2005 17:01:14 +0000 Subject: (set_l10n_sort) import comments from rpmdrake --- perl-install/common.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perl-install') diff --git a/perl-install/common.pm b/perl-install/common.pm index 0ab71e53f..71ec6ba77 100644 --- a/perl-install/common.pm +++ b/perl-install/common.pm @@ -82,6 +82,10 @@ sub untranslate { die "untranslate failed"; } +#- This is needed because text printed by Gtk2 will always be encoded +#- in UTF-8; +#- we first check if LC_ALL is defined, because if it is, changing +#- only LC_COLLATE will have no effect. sub set_l10n_sort() { my $collation_locale = $ENV{LC_ALL}; if (!$collation_locale) { -- cgit v1.2.1