Parcourir la source

update funasr-wss-client

雾聪 il y a 2 ans
Parent
commit
c7cde30ab1

+ 3 - 0
runtime/websocket/bin/funasr-wss-client-2pass.cpp

@@ -474,6 +474,9 @@ class WebsocketClient {
 };
 
 int main(int argc, char* argv[]) {
+#ifdef _WIN32
+    SetConsoleOutputCP(65001);
+#endif
   google::InitGoogleLogging(argv[0]);
   FLAGS_logtostderr = true;
 

+ 3 - 1
runtime/websocket/bin/funasr-wss-client.cpp

@@ -341,7 +341,9 @@ class WebsocketClient {
 };
 
 int main(int argc, char* argv[]) {
-
+#ifdef _WIN32
+    SetConsoleOutputCP(65001);
+#endif
     google::InitGoogleLogging(argv[0]);
     FLAGS_logtostderr = true;