summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_gtk.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-rw-r--r--perl-install/install_steps_gtk.pm4
1 files changed, 2 insertions, 2 deletions
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') {