From 1344c430fe7852aab13944e6c1831a8c7d2c6bb1 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Fri, 24 Jan 2003 11:41:34 +0000 Subject: fix non latin1 post-install perl-gtk2 apps, seems like perl upgrading strings to utf8 is somewhat broken (dunno why), so now we bind the codeset or our textdomains to utf8 and tag the translated strings to utf8, when using gtk --- perl-install/interactive.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perl-install/interactive.pm') diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm index 58b019a37..9761d83a1 100644 --- a/perl-install/interactive.pm +++ b/perl-install/interactive.pm @@ -105,6 +105,8 @@ sub vnew { if (!$@) { my $o = interactive::gtk->new; if ($icon && $icon ne 'default' && !$::isWizard) { $o->{icon} = $icon } else { undef $o->{icon} } + c::bind_textdomain_codeset($_, 'UTF8') foreach 'libDrakX', @::textdomains; + $::need_utf8_i18n = 1; return $o; } } else { -- cgit v1.2.1