diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-08-09 15:20:16 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-08-09 15:20:16 +0200 |
commit | 835957b1fc418c5506c40aa23cc2d9b1d327e06c (patch) | |
tree | ca2104e57e745e0895097d738f48c4d7b85ef019 /core/string | |
parent | 3a0086eb6fc9287b9b37ca98f91a5a61f0793cca (diff) | |
parent | 84a6f0d2322c8a3e6fac28fe1dfaf9fa09d485bd (diff) | |
download | redot-engine-835957b1fc418c5506c40aa23cc2d9b1d327e06c.tar.gz |
Merge pull request #79980 from bruvzg/fix_test_str_errs
[String] Fix Unicode parsing error message encoding and related JSON tests.
Diffstat (limited to 'core/string')
-rw-r--r-- | core/string/ustring.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/string/ustring.cpp b/core/string/ustring.cpp index 12e6423724..376d0832d4 100644 --- a/core/string/ustring.cpp +++ b/core/string/ustring.cpp @@ -1750,7 +1750,7 @@ Vector<uint8_t> String::hex_decode() const { void String::print_unicode_error(const String &p_message, bool p_critical) const { if (p_critical) { - print_error(vformat("Unicode parsing error, some characters were replaced with � (U+FFFD): %s", p_message)); + print_error(vformat(U"Unicode parsing error, some characters were replaced with � (U+FFFD): %s", p_message)); } else { print_error(vformat("Unicode parsing error: %s", p_message)); } |