aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-10 16:57:05 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-10 16:57:05 +0000
commitcea079507818d85bcb8f8e5604267d32d949e9f4 (patch)
tree6a76427640090fa7f01b48ca88c23434b7932e2f /Rpmdrake/pkg.pm
parentb47d94cd4520aad225d7958cb5e2a59cf5037d67 (diff)
downloadrpmdrake-cea079507818d85bcb8f8e5604267d32d949e9f4.tar
rpmdrake-cea079507818d85bcb8f8e5604267d32d949e9f4.tar.gz
rpmdrake-cea079507818d85bcb8f8e5604267d32d949e9f4.tar.bz2
rpmdrake-cea079507818d85bcb8f8e5604267d32d949e9f4.tar.xz
rpmdrake-cea079507818d85bcb8f8e5604267d32d949e9f4.zip
(extract_header) explicitely convert changelog to UTF-8
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r--Rpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index f1de896a..4c3ba6ce 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -98,7 +98,7 @@ sub extract_header {
my $name = urpm_name($pkg->{pkg});
if ($pkg->{pkg}->flag_installed && !$pkg->{pkg}->flag_upgrade) {
add2hash($pkg, { files => [ split /\n/, chomp_(scalar(run_rpm("rpm -ql $name"))) || N("(none)") ],
- changelog => $chg_prepro->(scalar(run_rpm("rpm -q --changelog $name"))) });
+ changelog => $chg_prepro->(to_utf8(scalar(run_rpm("rpm -q --changelog $name")))) });
} else {
my ($p, $medium) = ($pkg->{pkg}, pkg2medium($pkg->{pkg}, $urpm));
my $hdlist = urpm::media::any_hdlist($urpm, $medium);