雾聪
2023-12-18 0627b354c5cd5e940c566950f2951e3235eaae4c
SetConsoleOutputCP for win
4个文件已修改
12 ■■■■■ 已修改文件
runtime/websocket/bin/funasr-wss-client-2pass.cpp 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
runtime/websocket/bin/funasr-wss-client.cpp 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
runtime/websocket/bin/funasr-wss-server-2pass.cpp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
runtime/websocket/bin/funasr-wss-server.cpp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
runtime/websocket/bin/funasr-wss-client-2pass.cpp
@@ -475,7 +475,8 @@
int main(int argc, char* argv[]) {
#ifdef _WIN32
    SetConsoleOutputCP(65001);
  #include <windows.h>
  SetConsoleOutputCP(65001);
#endif
  google::InitGoogleLogging(argv[0]);
  FLAGS_logtostderr = true;
runtime/websocket/bin/funasr-wss-client.cpp
@@ -342,6 +342,7 @@
int main(int argc, char* argv[]) {
#ifdef _WIN32
    #include <windows.h>
    SetConsoleOutputCP(65001);
#endif
    google::InitGoogleLogging(argv[0]);
runtime/websocket/bin/funasr-wss-server-2pass.cpp
@@ -25,6 +25,10 @@
}
int main(int argc, char* argv[]) {
#ifdef _WIN32
  #include <windows.h>
  SetConsoleOutputCP(65001);
#endif
  try {
    google::InitGoogleLogging(argv[0]);
    FLAGS_logtostderr = true;
runtime/websocket/bin/funasr-wss-server.cpp
@@ -26,6 +26,10 @@
}
int main(int argc, char* argv[]) {
#ifdef _WIN32
    #include <windows.h>
    SetConsoleOutputCP(65001);
#endif
  try {
    google::InitGoogleLogging(argv[0]);