1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fix icons with non-ASCII file names in project manager.

This commit is contained in:
Pāvels Nadtočajevs
2025-03-20 16:33:01 +02:00
parent 97241ffea6
commit abe413ff8c

View File

@@ -311,7 +311,7 @@ String ResourceUID::get_path_from_cache(Ref<FileAccess> &p_cache_file, const Str
ERR_FAIL_COND_V(rl != len, String());
if (singleton->id_to_text(id) == p_uid_string) {
return String(cs.get_data());
return String::utf8(cs.get_data());
}
}
return String();