mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
ppc: inspection: Use iconv "UTF-16LE" instead of "UTF-16".
See commit message:
8e31fd84cb
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user