Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenApoc/OpenApoc
/ to_ustring
Function
to_ustring
library/strings.cpp:23–27 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
21
}
22
23
UString to_ustring(const std::u32string_view str)
24
{
25
auto string_copy = U32String(str);
26
return boost::locale::conv::utf_to_utf<char>(string_copy);
27
}
28
29
char32_t to_char32(const char c)
30
{
Callers
8
remove
Function · 0.85
insert_codepoints
Function · 0.85
getGlyph
Method · 0.85
onRender
Method · 0.85
getText
Method · 0.85
copyTo
Method · 0.85
test_32_8_roundtrip
Function · 0.85
test
Method · 0.85
Calls
no outgoing calls
Tested by
2
test_32_8_roundtrip
Function · 0.68
test
Method · 0.68