Skip to content

Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.

update funasr-wss-client

雾聪c7cde30ab18c
diff --git a/runtime/websocket/bin/funasr-wss-client-2pass.cpp b/runtime/websocket/bin/funasr-wss-client-2pass.cpp
index 2bd814c90..ec3da352b 100644
--- a/runtime/websocket/bin/funasr-wss-client-2pass.cpp
+++ b/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;
diff --git a/runtime/websocket/bin/funasr-wss-client.cpp b/runtime/websocket/bin/funasr-wss-client.cpp
index b49511787..f61799895 100644
--- a/runtime/websocket/bin/funasr-wss-client.cpp
+++ b/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;