This commit is contained in:
UnknownObject
2026-06-30 17:49:51 +08:00
commit 292c09619e
200 changed files with 23718 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#include "LogArg.h"
#ifndef _WIN32
#include "utextcodec/UTextCodec.h"
#else
#include "../UTextCodec/UTextCodec.h"
#endif
namespace uns
{
// 宽字符转 UTF-8 实现
std::string ConvertWStringToUtf8(std::wstring_view wstr)
{
return UTextCodec::WtoS(std::wstring(wstr));
}
}