diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-25 13:43:52 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-25 13:43:52 +0000 |
commit | f89e8b74c038cb652634805252301455c1c5f69a (patch) | |
tree | 647bdc9d9a1b2e36cde964630ddfcf603d415a6d /Rpmdrake | |
parent | 52f09038e4d613fcee493459d1109e54f99838d8 (diff) | |
download | rpmdrake-f89e8b74c038cb652634805252301455c1c5f69a.tar rpmdrake-f89e8b74c038cb652634805252301455c1c5f69a.tar.gz rpmdrake-f89e8b74c038cb652634805252301455c1c5f69a.tar.bz2 rpmdrake-f89e8b74c038cb652634805252301455c1c5f69a.tar.xz rpmdrake-f89e8b74c038cb652634805252301455c1c5f69a.zip |
(rpm_description) fix displaying garbaged UTF-8 descriptions (eg:
cgoban1) instead of displaying "none"
Diffstat (limited to 'Rpmdrake')
-rw-r--r-- | Rpmdrake/formatting.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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*//; |