aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/formatting.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-25 13:43:52 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-25 13:43:52 +0000
commitf89e8b74c038cb652634805252301455c1c5f69a (patch)
tree647bdc9d9a1b2e36cde964630ddfcf603d415a6d /Rpmdrake/formatting.pm
parent52f09038e4d613fcee493459d1109e54f99838d8 (diff)
downloadrpmdrake-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/formatting.pm')
-rw-r--r--Rpmdrake/formatting.pm2
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*//;