MCPcopy Create free account
hub / github.com/amwatson/CitraVR / UTF16ToUTF8

Function UTF16ToUTF8

src/common/string_util.cpp:159–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159std::string UTF16ToUTF8(std::u16string_view input) {
160 return boost::locale::conv::utf_to_utf<char>(input.data(), input.data() + input.size());
161}
162
163std::u16string UTF8ToUTF16(std::string_view input) {
164 return boost::locale::conv::utf_to_utf<char16_t>(input.data(), input.data() + input.size());

Callers 15

ReadNameMethod · 0.85
AsStringMethod · 0.85
CheckAndUpdateFileMethod · 0.85
RegisterTaskMethod · 0.85
GetNsDataEntriesMethod · 0.85
ExecuteMethod · 0.85
ReadTitleMethod · 0.85
GetJStringFunction · 0.85
mainFunction · 0.85

Calls 3

dataMethod · 0.45
sizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected