MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / print_unicode_error

Method print_unicode_error

core/string/ustring.cpp:1703–1709  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1701}
1702
1703void String::print_unicode_error(const String &p_message, bool p_critical) const {
1704 if (p_critical) {
1705 print_error(vformat(U"Unicode parsing error, some characters were replaced with � (U+FFFD): %s", p_message));
1706 } else {
1707 print_error(vformat("Unicode parsing error: %s", p_message));
1708 }
1709}
1710
1711CharString String::ascii(bool p_allow_extended) const {
1712 if (!length()) {

Callers

nothing calls this directly

Calls 2

vformatFunction · 0.85
print_errorFunction · 0.70

Tested by

no test coverage detected