From b68017bc2aa86f5d1a7f2d44d548d069aca47f18 Mon Sep 17 00:00:00 2001 From: taynpg Date: Tue, 29 Apr 2025 14:07:46 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E6=AD=A3tss-http=20win?= =?UTF-8?q?=E4=B9=B1=E7=A0=81=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- http-server/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/http-server/main.cpp b/http-server/main.cpp index 3710e08..6d75d5b 100644 --- a/http-server/main.cpp +++ b/http-server/main.cpp @@ -114,6 +114,10 @@ std::string generate_file_list(const std::string& base_path, const std::string& )"; +#ifdef _WIN32 + html = ansi_to_u8(html); +#endif + return html; }