summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-13 13:24:44 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-13 13:24:44 +0000
commit5048f06cfad36df37cea9f0241dc636e5c56a840 (patch)
treedbab41019af6305d62c9b4f72af49c169685520e /gurpmi2
parent03159fbe279e79bf3ebde32d4d342207321b6ce4 (diff)
downloadurpmi-5048f06cfad36df37cea9f0241dc636e5c56a840.tar
urpmi-5048f06cfad36df37cea9f0241dc636e5c56a840.tar.gz
urpmi-5048f06cfad36df37cea9f0241dc636e5c56a840.tar.bz2
urpmi-5048f06cfad36df37cea9f0241dc636e5c56a840.tar.xz
urpmi-5048f06cfad36df37cea9f0241dc636e5c56a840.zip
(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
Diffstat (limited to 'gurpmi2')
-rwxr-xr-xgurpmi21
1 files changed, 0 insertions, 1 deletions
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');