From 5048f06cfad36df37cea9f0241dc636e5c56a840 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 13 Mar 2008 13:24:44 +0000 Subject: (configure_urpm) do not convert manually in UTF-8, it's cannot cover both running with either a UTF-8 or a non UTF-8 locale; no we just tell gettext we expect UTF-8 messages --- gurpmi2 | 1 - 1 file changed, 1 deletion(-) (limited to 'gurpmi2') diff --git a/gurpmi2 b/gurpmi2 index b9e0054c..bd1e4a19 100755 --- a/gurpmi2 +++ b/gurpmi2 @@ -112,7 +112,6 @@ sub configure_urpm() { $urpm->{error} = sub { my ($message) = @_; my $nb_lines = $message =~ tr/\n/\n/; - $message = Locale::gettext::iconv($message, undef, 'UTF-8'); my $w; if ($nb_lines > 30) { $w = Gtk2::Dialog->new(N("Warning"), $mainw, [qw(modal destroy-with-parent)], N("Ok"), 'ok'); -- cgit v1.2.1