diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-09-10 16:42:16 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-09-10 16:42:16 +0000 |
commit | 9baa2fb0728794eaccc785570fd8a48523e75773 (patch) | |
tree | 6c44fd7bff4e187481173afc9162c0e654da2dc4 /rpmdrake.pm | |
parent | 3bf7790f2af207f09470da49148b4c7212b3b3df (diff) | |
download | rpmdrake-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.pm | 3 |
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]; } |