mirror of
https://github.com/pstrueb/piper.git
synced 2026-04-24 16:54:50 +00:00
Set UTF-8 console for Windows
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user