添加项目文件。

This commit is contained in:
UnknownObject
2026-06-30 17:46:34 +08:00
parent 415124601e
commit d7ce0fe00a
75 changed files with 9723 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));
}
}