Files
RedHotRoast-ios/HybridCLRData/LocalIl2CppData-OSXEditor/il2cpp/libil2cpp/os/Win32/Encoding.cpp
T

25 lines
321 B
C++
Raw Normal View History

2026-07-17 14:03:00 +08:00
#include "il2cpp-config.h"
#if IL2CPP_TARGET_WINDOWS
#include "WindowsHelpers.H"
#include "os/Encoding.h"
namespace il2cpp
{
namespace os
{
namespace Encoding
{
std::string GetCharSet()
{
static char buf[14];
sprintf(buf, "CP%u", GetACP());
return std::string(buf);
}
}
}
}
#endif