diff --git a/src/cpp/main.cpp b/src/cpp/main.cpp index 3c6192e..962ca47 100644 --- a/src/cpp/main.cpp +++ b/src/cpp/main.cpp @@ -95,6 +95,11 @@ int main(int argc, char *argv[]) { RunConfig runConfig; parseArgs(argc, argv, runConfig); +#ifdef _WIN32 + // Required on Windows to show IPA symbols + SetConsoleOutputCP(CP_UTF8); +#endif + piper::PiperConfig piperConfig; piper::Voice voice;