This needs Richard's patch:
https://www.redhat.com/archives/libguestfs/2018-February/msg00099.html
Diff to v1:
* factorized the UTF-8 conversion functions
* small style fixes
Cédric Bosdonnat (2):
common: extract UTF-8 conversion function
inspector: rpm summary and description may not be utf-8
common/utils/guestfs-utils.h | 1 +
common/utils/libxml2-utils.c | 57 +-----------------------
common/utils/utils.c | 64 +++++++++++++++++++++++++++
inspector/expected-fedora.img.xml | 4 ++
lib/inspect-apps.c | 30 +++++++++++--
test-data/phony-guests/fedora-packages.db.txt | 4 +-
6 files changed, 98 insertions(+), 62 deletions(-)
--
2.16.1