aboutsummaryrefslogtreecommitdiffstats
path: root/MandrivaUpdate
diff options
context:
space:
mode:
Diffstat (limited to 'MandrivaUpdate')
-rwxr-xr-xMandrivaUpdate4
1 files changed, 3 insertions, 1 deletions
diff --git a/MandrivaUpdate b/MandrivaUpdate
index f32c1fc1..38355a0e 100755
--- a/MandrivaUpdate
+++ b/MandrivaUpdate
@@ -70,7 +70,9 @@ sub refresh_packages_list {
my $i;
@{$list->{data}} = map {
$data{$_} = $i++;
- [ $pkgs->{$_}{selected}, join("\n", "<b>$_</b>", escape_text_for_TextView_markup_format(translate(rpm_summary($pkgs->{$_}{pkg}->summary)))) ];
+ my $summary = translate(to_utf8(rpm_summary($pkgs->{$_}{pkg}->summary)));
+ [ $pkgs->{$_}{selected}, join("\n", "<b>$_</b>",
+ utf8::valid($summary) ? escape_text_for_TextView_markup_format($summary) : '') ];
} grep { $pkgs->{$_}{pkg} } @requested;
gtktext_insert($info,
formatAlaTeX(N("The list of updates is empty. This means that either there is