From 644301f079dd772dcd66873cef15510ffaeeda2b Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 29 Aug 2002 11:26:26 +0000 Subject: rpm description & group are in utf8, so use c::from_utf8 --- perl-install/install_steps_gtk.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/install_steps_gtk.pm') diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm index cac0ccf95..61c65f5b4 100644 --- a/perl-install/install_steps_gtk.pm +++ b/perl-install/install_steps_gtk.pm @@ -337,7 +337,7 @@ sub choosePackagesTree { _("Version: %s\n", $p->version . '-' . $p->release) . _("Size: %d KB\n", $p->size / 1024) . ($imp && _("Importance: %s\n", $imp)) . "\n" . - formatLines($p->description)); + formatLines(c::from_utf8($p->description))); return $info; }, toggle_nodes => sub { @@ -559,7 +559,7 @@ sub installPackages { $msg->set(_("Installing package %s", $p->name)); $current_total_size += $last_size; $last_size = $p->size; - $text->set((split /\n/, $p->summary)[0] || ''); + $text->set((split /\n/, c::from_utf8($p->summary))[0] || ''); $advertize->(1) if $show_advertising && $total_size > 20_000_000 && time() - $change_time > 20; $w->flush; } elsif ($type eq 'inst' && $subtype eq 'progress') { -- cgit v1.2.1