diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | Rpmdrake/formatting.pm | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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*//; |