From 5cd7a0bae083c1dcaf674772d8a71ff3b4c37102 Mon Sep 17 00:00:00 2001 From: chenluhua1980 <Chenluhua@qq.com> Date: 星期三, 10 十二月 2025 10:55:39 +0800 Subject: [PATCH] loadReports,兼容各种文件编码 --- SourceCode/Bond/Servo/ToolUnits.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/Servo/ToolUnits.h b/SourceCode/Bond/Servo/ToolUnits.h index f88788d..7314ea8 100644 --- a/SourceCode/Bond/Servo/ToolUnits.h +++ b/SourceCode/Bond/Servo/ToolUnits.h @@ -60,5 +60,7 @@ const char* fmt = "%Y-%m-%d %H:%M:%S"); static std::string TimePointToLocalStringMs(const std::optional<TP>& tp); static std::string NowStrSec(); + static std::wstring AnsiToWString(const std::string& str); + static std::string WStringToAnsi(const std::wstring& wstr); }; -- Gitblit v1.9.3