mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 14:24:33 +01:00
Fix banner text formatting, import / export
This commit is contained in:
@@ -509,6 +509,13 @@ namespace String
|
||||
return utf8_write_codepoint(dst, codepoint);
|
||||
}
|
||||
|
||||
void AppendCodepoint(std::string& str, codepoint_t codepoint)
|
||||
{
|
||||
char buffer[8]{};
|
||||
utf8_write_codepoint(buffer, codepoint);
|
||||
str.append(buffer);
|
||||
}
|
||||
|
||||
bool IsWhiteSpace(codepoint_t codepoint)
|
||||
{
|
||||
// 0x3000 is the 'ideographic space', a 'fullwidth' character used in CJK languages.
|
||||
|
||||
Reference in New Issue
Block a user