You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #104810 from kiroxas/utf8_cleanup
Replace `append_utfx` with direct `String::utfx`
This commit is contained in:
@@ -1676,9 +1676,7 @@ String EditorExportPlatformAndroid::_parse_string(const uint8_t *p_bytes, bool p
|
||||
str8.write[i] = p_bytes[offset + i];
|
||||
}
|
||||
str8.write[len] = 0;
|
||||
String str;
|
||||
str.append_utf8((const char *)str8.ptr(), len);
|
||||
return str;
|
||||
return String::utf8((const char *)str8.ptr(), len);
|
||||
} else {
|
||||
String str;
|
||||
for (uint32_t i = 0; i < len; i++) {
|
||||
|
||||
Reference in New Issue
Block a user