summaryrefslogtreecommitdiffstats
path: root/core/string
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-08-09 15:20:16 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-08-09 15:20:16 +0200
commit835957b1fc418c5506c40aa23cc2d9b1d327e06c (patch)
treeca2104e57e745e0895097d738f48c4d7b85ef019 /core/string
parent3a0086eb6fc9287b9b37ca98f91a5a61f0793cca (diff)
parent84a6f0d2322c8a3e6fac28fe1dfaf9fa09d485bd (diff)
downloadredot-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.cpp2
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));
}