summaryrefslogtreecommitdiffstats
path: root/urpm/msg.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/msg.pm')
-rw-r--r--urpm/msg.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/urpm/msg.pm b/urpm/msg.pm
index 6841120a..5f60a070 100644
--- a/urpm/msg.pm
+++ b/urpm/msg.pm
@@ -29,10 +29,12 @@ sub from_utf8_dummy { $_[0] }
sub N {
my ($format, @params) = @_;
- sprintf(
+ my $s = sprintf(
eval { Locale::gettext::gettext($format || '') } || $format,
@params,
);
+ utf8::decode($s);
+ $s;
}
my $noexpr = N("Nn");