aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-10 16:42:16 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-10 16:42:16 +0000
commit9baa2fb0728794eaccc785570fd8a48523e75773 (patch)
tree6c44fd7bff4e187481173afc9162c0e654da2dc4 /rpmdrake.pm
parent3bf7790f2af207f09470da49148b4c7212b3b3df (diff)
downloadrpmdrake-9baa2fb0728794eaccc785570fd8a48523e75773.tar
rpmdrake-9baa2fb0728794eaccc785570fd8a48523e75773.tar.gz
rpmdrake-9baa2fb0728794eaccc785570fd8a48523e75773.tar.bz2
rpmdrake-9baa2fb0728794eaccc785570fd8a48523e75773.tar.xz
rpmdrake-9baa2fb0728794eaccc785570fd8a48523e75773.zip
(to_utf8) do not reinvent the wheel; just reuse common::to_utf8()
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index c4a555be..fd999ed8 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -139,8 +139,7 @@ $urpm::download::PROMPT_PROXY = new rpmdrake::prompt(
sub to_utf8 {
foreach (@_) {
- $_ = Locale::gettext::iconv($_, undef, "UTF-8");
- c::set_tagged_utf8($_);
+ $_ = common::to_utf8($_);
}
wantarray() ? @_ : $_[0];
}