diff --git a/uppsrc/Core/App.cpp b/uppsrc/Core/App.cpp index 468ab0a0f..274b83b86 100644 --- a/uppsrc/Core/App.cpp +++ b/uppsrc/Core/App.cpp @@ -333,7 +333,7 @@ void AppInit__(int argc, const char **argv, const char **envptr) } Vector& cmd = coreCmdLine__(); for(int i = 1; i < argc; i++) - cmd.Add(FromSystemCharset(argv[i])); + cmd.Add(FromSystemCharset(argv[i]).ToWString()); CommonInit(); signal(SIGILL, s_ill_handler); signal(SIGSEGV, s_segv_handler);