diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-02-11 10:24:22 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-02-11 10:24:22 +0000 |
commit | 62294c037ada25bde7b287ef6a539c9be95d48ed (patch) | |
tree | db3dfdb9a086712376c558933448a756a5431f93 | |
parent | 1b1f50d75a7566f33aaffcd2484720314226c659 (diff) | |
download | rpmdrake-62294c037ada25bde7b287ef6a539c9be95d48ed.tar rpmdrake-62294c037ada25bde7b287ef6a539c9be95d48ed.tar.gz rpmdrake-62294c037ada25bde7b287ef6a539c9be95d48ed.tar.bz2 rpmdrake-62294c037ada25bde7b287ef6a539c9be95d48ed.tar.xz rpmdrake-62294c037ada25bde7b287ef6a539c9be95d48ed.zip |
Fix utf-8 changelog display in remove mode
-rwxr-xr-x | rpmdrake | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -260,7 +260,7 @@ sub extract_header { if ($MODE eq 'remove') { @$max_info_in_descr or return; add2hash($pkg, { files => [ split /\n/, chomp_(scalar(`rpm -ql $name`)) || N("(none)") ], - changelog => $chg_prepro->(scalar(`rpm -q --changelog $name`)) }); + changelog => $chg_prepro->(to_utf8(scalar(`rpm -q --changelog $name`))) }); } else { my ($p, $medium) = ($pkg->{pkg}, pkg2medium($pkg->{pkg}, $urpm)); my $hdlist = "$urpm->{statedir}/$medium->{hdlist}"; |