summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/common.pm4
1 files changed, 4 insertions, 0 deletions
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) {