#include <iconv.h>
#include <stdlib.h>
+#include <errno.h>
-bool wimlib_mbs_is_utf8 = false;
+bool wimlib_mbs_is_utf8 = true;
struct iconv_list_head {
const char *from_encoding;
{
do {
if ((unsigned char)*utf8_str > 127)
- return false;
+ return true;
} while (*++utf8_str);
- return true;
+ return false;
}