Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ ToUtf16
Function
ToUtf16
libs/base/string_utils.cpp:338–343 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
336
}
337
338
std::u16string ToUtf16(std::string_view utf8)
339
{
340
std::u16string utf16;
341
utf8::unchecked::utf8to16(utf8.begin(), utf8.end(), back_inserter(utf16));
342
return utf16;
343
}
344
345
bool IsASCIIString(std::string_view sv)
346
{
Callers
3
ToJavaStringWithSupplementalCharsFix
Function · 0.85
GetTextSegments
Function · 0.85
UNIT_TEST
Function · 0.85
Calls
2
begin
Method · 0.45
end
Method · 0.45
Tested by
1
UNIT_TEST
Function · 0.68