diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-10-31 02:08:51 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-10-31 02:08:51 -0700 |
| commit | b3fe4462e2e91350f6963180c6d5c7300545e97b (patch) | |
| tree | 7db7efb5881c26bec6b5ac144ef2428be733d0cf | |
| parent | 5f4221420701ff7d78e02b11622a00ee12a8e64a (diff) | |
| parent | 3457d89d41f19e933929cf4df88892f47cef297c (diff) | |
| download | vcpkg-b3fe4462e2e91350f6963180c6d5c7300545e97b.tar.gz vcpkg-b3fe4462e2e91350f6963180c6d5c7300545e97b.zip | |
Merge branch 'master' of https://github.com/microsoft/vcpkg
| -rw-r--r-- | toolsrc/src/vcpkg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/vcpkg.cpp b/toolsrc/src/vcpkg.cpp index b4c2d0fe2..2a73c5b0f 100644 --- a/toolsrc/src/vcpkg.cpp +++ b/toolsrc/src/vcpkg.cpp @@ -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 |
