]> wimlib.net Git - wimlib/blobdiff - programs/imagex.c
Update docs
[wimlib] / programs / imagex.c
index 580e65acd530fbd3f95f193246f154ef2814805d..c8fa94af86a9ab7ee6a58ef873564465260f6de6 100644 (file)
@@ -38,6 +38,7 @@
 #include <string.h>
 #include <sys/stat.h>
 #include <unistd.h>
 #include <string.h>
 #include <sys/stat.h>
 #include <unistd.h>
+#include <locale.h>
 
 #ifdef HAVE_ALLOCA_H
 #include <alloca.h>
 
 #ifdef HAVE_ALLOCA_H
 #include <alloca.h>
@@ -2120,6 +2121,8 @@ int main(int argc, char **argv)
        const struct imagex_command *cmd;
        int ret;
 
        const struct imagex_command *cmd;
        int ret;
 
+       setlocale(LC_ALL, "");
+
        if (argc < 2) {
                imagex_error("No command specified");
                usage_all();
        if (argc < 2) {
                imagex_error("No command specified");
                usage_all();