]> wimlib.net Git - wimlib/blobdiff - src/wim.c
Initial rewrite of resource code
[wimlib] / src / wim.c
index dd184533151e04214ec2c9e2376fec14af1e3ec4..6859d5c7d50fd9d9fe607da5e53540225e4ba19d 100644 (file)
--- a/src/wim.c
+++ b/src/wim.c
@@ -596,15 +596,19 @@ wimlib_free(WIMStruct *w)
 static bool
 test_locale_ctype_utf8()
 {
+#ifdef __WIN32__
+       return false;
+#else
        char *ctype = nl_langinfo(CODESET);
 
        return (!strstr(ctype, "UTF-8") ||
                !strstr(ctype, "UTF8") ||
                !strstr(ctype, "utf8") ||
                !strstr(ctype, "utf-8"));
+#endif
 }
 
-/* Get global memory allocations out of the way, 
+/* Get global memory allocations out of the way,
  * single-threaded programs like 'imagex'. */
 WIMLIBAPI int
 wimlib_global_init()