Unicode fix for using iconv on little-endian machines.

This commit is contained in:
unitrunker
2018-01-21 23:53:09 -06:00
parent c7434afed8
commit e9c381e1de
2 changed files with 3 additions and 3 deletions

View File

@@ -339,8 +339,8 @@ namespace detail
string.tab_pixels = 0;
string.whitespace_pixels = 0;
#if defined(NANA_USE_XFT)
conv_.handle = ::iconv_open("UTF-8", "UTF-32");
conv_.code = "UTF-32";
conv_.handle = ::iconv_open("UTF-8", NANA_UNICODE);
conv_.code = NANA_UNICODE;
#endif
}