Made some minor build-related updates. Notably, enabled "silent" make
rules; this makes the output cleaner when building from source.
+ Non UTF-8 locales are now detected correctly.
+
Some Windows-specific updates:
Fixed a bug where duplicate backslashes could be generated in
link targets when extracting symbolic links and junctions.
#else
char *ctype = nl_langinfo(CODESET);
- return (!strstr(ctype, "UTF-8") ||
- !strstr(ctype, "UTF8") ||
- !strstr(ctype, "utf8") ||
- !strstr(ctype, "utf-8"));
+ return (strstr(ctype, "UTF-8") ||
+ strstr(ctype, "UTF8") ||
+ strstr(ctype, "utf8") ||
+ strstr(ctype, "utf-8"));
#endif
}