mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
SetConsoleOutputCP for win
This commit is contained in:
parent
a0108271ad
commit
0627b354c5
@ -475,7 +475,8 @@ class WebsocketClient {
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
#ifdef _WIN32
|
||||
SetConsoleOutputCP(65001);
|
||||
#include <windows.h>
|
||||
SetConsoleOutputCP(65001);
|
||||
#endif
|
||||
google::InitGoogleLogging(argv[0]);
|
||||
FLAGS_logtostderr = true;
|
||||
|
||||
@ -342,6 +342,7 @@ class WebsocketClient {
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
SetConsoleOutputCP(65001);
|
||||
#endif
|
||||
google::InitGoogleLogging(argv[0]);
|
||||
|
||||
@ -25,6 +25,10 @@ void GetValue(TCLAP::ValueArg<std::string>& value_arg, string key,
|
||||
}
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
SetConsoleOutputCP(65001);
|
||||
#endif
|
||||
try {
|
||||
google::InitGoogleLogging(argv[0]);
|
||||
FLAGS_logtostderr = true;
|
||||
|
||||
@ -26,6 +26,10 @@ void GetValue(TCLAP::ValueArg<std::string>& value_arg, string key,
|
||||
}
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
SetConsoleOutputCP(65001);
|
||||
#endif
|
||||
try {
|
||||
|
||||
google::InitGoogleLogging(argv[0]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user