This commit is contained in:
Robert Schumacher 2017-10-31 02:08:51 -07:00
commit b3fe4462e2

View File

@ -245,8 +245,8 @@ int main(const int argc, const char* const* const argv)
GlobalState::g_init_console_cp = GetConsoleCP();
GlobalState::g_init_console_output_cp = GetConsoleOutputCP();
SetConsoleCP(65001);
SetConsoleOutputCP(65001);
SetConsoleCP(CP_UTF8);
SetConsoleOutputCP(CP_UTF8);
const std::string trimmed_command_line = trim_path_from_command_line(Strings::to_utf8(GetCommandLineW()));
#endif