Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Clarionos/clarion
/ encodeUtf8
Function
encodeUtf8
libraries/fc/src/utf8.cpp:78–83 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
76
}
77
78
void encodeUtf8(const std::wstring& input, std::string* storage)
79
{
80
FC_ASSERT(storage != nullptr);
81
82
utf8::utf32to8(input.begin(), input.end(), std::back_inserter(*storage));
83
}
84
85
} ///namespace fc
Callers
2
to_variant
Function · 0.85
to_native_ansi_path
Method · 0.85
Calls
3
utf32to8
Function · 0.50
begin
Method · 0.45
end
Method · 0.45
Tested by
no test coverage detected