From aee6fc4863c170d08e572dbdcfcb6f328edfc013 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 10 Sep 2013 22:37:18 +0100 Subject: [PATCH] ppc: inspection: Use iconv "UTF-16LE" instead of "UTF-16". See commit message: https://github.com/libguestfs/hivex/commit/8e31fd84cb1c7edcd897ddaaea407774de459b2e --- src/inspect-fs-windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inspect-fs-windows.c b/src/inspect-fs-windows.c index b23c7499f..20e4d7ff6 100644 --- a/src/inspect-fs-windows.c +++ b/src/inspect-fs-windows.c @@ -644,7 +644,7 @@ guestfs__hivex_value_utf8 (guestfs_h *g, int64_t valueh) static char * utf16_to_utf8 (/* const */ char *input, size_t len) { - iconv_t ic = iconv_open ("UTF-8", "UTF-16"); + iconv_t ic = iconv_open ("UTF-8", "UTF-16LE"); if (ic == (iconv_t) -1) return NULL;