From dcc310e1a8ff75df5b8d091a9e26883b85b8afec Mon Sep 17 00:00:00 2001
From: Yabin Li <wucong.lyb@alibaba-inc.com>
Date: 星期三, 17 一月 2024 16:22:07 +0800
Subject: [PATCH] Update websocket_protocol_zh.md
---
runtime/websocket/bin/funasr-wss-server.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/runtime/websocket/bin/funasr-wss-server.cpp b/runtime/websocket/bin/funasr-wss-server.cpp
index 67e3309..8f2a7ab 100644
--- a/runtime/websocket/bin/funasr-wss-server.cpp
+++ b/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]);
--
Gitblit v1.9.1