Skip to content

Commit

Permalink
ppc: inspection: Use iconv "UTF-16LE" instead of "UTF-16".
Browse files Browse the repository at this point in the history
See commit message:
libguestfs/hivex@8e31fd8
  • Loading branch information
rwmjones committed Sep 10, 2013
1 parent bae6d5c commit aee6fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inspect-fs-windows.c
Expand Up @@ -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;

Expand Down

0 comments on commit aee6fc4

Please sign in to comment.