aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--Rpmdrake/formatting.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index ebdca1cf..3f645db7 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix displaying garbaged UTF-8 descriptions (eg: cgoban1)
+ (instead of displaying "none")
- workaround crashing while performing medium name lookup (#38793)
Version 4.9.7 - 21 March 2008, Thierry Vignaud
diff --git a/Rpmdrake/formatting.pm b/Rpmdrake/formatting.pm
index 5637c4c2..0690a09c 100644
--- a/Rpmdrake/formatting.pm
+++ b/Rpmdrake/formatting.pm
@@ -66,7 +66,7 @@ sub ensure_utf8 {
sub rpm_description {
my ($description) = @_;
- utf8::decode($description);
+ ensure_utf8($description);
my ($t, $tmp);
foreach (split "\n", $description) {
s/^\s*//;