diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-03-16 17:19:31 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-03-16 17:19:31 +0000 |
commit | 620606f67c872194bdd85ddce81cd2330e222cff (patch) | |
tree | f995864ef0f0280e5d92b4d9d05d1b6ebc8b10c1 /perl-install/c | |
parent | 917834ae3e027da1e071aa2989f8705d05acbde6 (diff) | |
download | drakx-backup-do-not-use-620606f67c872194bdd85ddce81cd2330e222cff.tar drakx-backup-do-not-use-620606f67c872194bdd85ddce81cd2330e222cff.tar.gz drakx-backup-do-not-use-620606f67c872194bdd85ddce81cd2330e222cff.tar.bz2 drakx-backup-do-not-use-620606f67c872194bdd85ddce81cd2330e222cff.tar.xz drakx-backup-do-not-use-620606f67c872194bdd85ddce81cd2330e222cff.zip |
(headerGetEntry): use from_utf8 on group, summary and description
Diffstat (limited to 'perl-install/c')
-rw-r--r-- | perl-install/c/stuff.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/c/stuff.pm b/perl-install/c/stuff.pm index 0cb3e99f3..d7f8db2cb 100644 --- a/perl-install/c/stuff.pm +++ b/perl-install/c/stuff.pm @@ -14,11 +14,11 @@ sub headerGetEntry { my ($h, $q) = @_; $h or log::l("empty header in headerGetEntry"), return; $q eq 'name' and return headerGetEntry_string($h, RPMTAG_NAME()); - $q eq 'group' and return headerGetEntry_string($h, RPMTAG_GROUP()); + $q eq 'group' and return from_utf8(headerGetEntry_string($h, RPMTAG_GROUP())); $q eq 'version' and return headerGetEntry_string($h, RPMTAG_VERSION()); $q eq 'release' and return headerGetEntry_string($h, RPMTAG_RELEASE()); - $q eq 'summary' and return headerGetEntry_string($h, RPMTAG_SUMMARY()); - $q eq 'description' and return headerGetEntry_string($h, RPMTAG_DESCRIPTION()); + $q eq 'summary' and return from_utf8(headerGetEntry_string($h, RPMTAG_SUMMARY())); + $q eq 'description' and return from_utf8(headerGetEntry_string($h, RPMTAG_DESCRIPTION())); $q eq 'arch' and return headerGetEntry_string($h, RPMTAG_ARCH()); $q eq 'size' and return headerGetEntry_int($h, RPMTAG_SIZE()); $q eq 'obsoletes' and return headerGetEntry_string_list($h, RPMTAG_OBSOLETES()); |