| 281 | } |
| 282 | |
| 283 | std::string LuaSTGPlus::Utf16ToUtf8(const wchar_t* p) |
| 284 | { |
| 285 | string tRet; |
| 286 | tRet.reserve(128); |
| 287 | Convert<Utf16Decoder, Utf8Encoder>(p, tRet); |
| 288 | return tRet; |
| 289 | } |
| 290 | |
| 291 | void LuaSTGPlus::Utf8ToUtf16(const char* p, std::wstring& ret) |
| 292 | { |
nothing calls this directly
no outgoing calls
no test coverage detected