From 9baa2fb0728794eaccc785570fd8a48523e75773 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 10 Sep 2007 16:42:16 +0000 Subject: (to_utf8) do not reinvent the wheel; just reuse common::to_utf8() --- rpmdrake.pm | 3 +-- 1 file changed, 1 insertion(+), 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]; } -- cgit v1.2.1