Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenTTD/OpenTTD
/ PutUtf8
Method
PutUtf8
src/core/string_builder.cpp:113–117 ·
view source on GitHub ↗
* Append UTF.8 char. */
Source
from the content-addressed store, hash-verified
111
* Append UTF.8 char.
112
*/
113
void BaseStringBuilder::PutUtf8(char32_t c)
114
{
115
auto [buf, len] = EncodeUtf8(c);
116
this->PutBuffer({buf, len});
117
}
118
119
/**
120
* Append buffer.
Callers
15
GetEncodedStringWithArgs
Function · 0.80
operator()
Method · 0.80
FormatGenericCurrency
Function · 0.80
FormatString
Function · 0.80
StationGetSpecialString
Function · 0.80
CheckForMissingGlyphs
Function · 0.80
FindHyperlinksInMarkdown
Method · 0.80
SetFilterTerm
Method · 0.80
Flush
Method · 0.80
TranslateTTDPatchCodes
Function · 0.80
StrMakeValid
Function · 0.80
IConsoleAliasExec
Function · 0.80
Calls
2
EncodeUtf8
Function · 0.85
PutBuffer
Method · 0.45
Tested by
1
ComposePart
Function · 0.64