From f89e8b74c038cb652634805252301455c1c5f69a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 25 Mar 2008 13:43:52 +0000 Subject: (rpm_description) fix displaying garbaged UTF-8 descriptions (eg: cgoban1) instead of displaying "none" --- Rpmdrake/formatting.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Rpmdrake') 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*//; -- cgit v1.2.1