1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-15 13:51:40 +00:00

Fix multiple missing UTF-8 decoding.

(cherry picked from commit c69e0d16bc)
This commit is contained in:
bruvzg
2022-01-06 11:34:10 +02:00
committed by Rémi Verschelde
parent 35cfe4160a
commit cb6d82a111
12 changed files with 17 additions and 17 deletions

View File

@@ -477,8 +477,8 @@ void ResourceCache::dump(const char *p_file, bool p_short) {
FileAccess *f = nullptr;
if (p_file) {
f = FileAccess::open(p_file, FileAccess::WRITE);
ERR_FAIL_COND_MSG(!f, "Cannot create file at path '" + String(p_file) + "'.");
f = FileAccess::open(String::utf8(p_file), FileAccess::WRITE);
ERR_FAIL_COND_MSG(!f, "Cannot create file at path '" + String::utf8(p_file) + "'.");
}
const String *K = nullptr;