Skip to content

Commit 12384d9

Browse files
authored
Merge pull request #104403 from bruvzg/uid_pm_fix
Fix icons with non-ASCII file names in project manager.
2 parents 97241ff + abe413f commit 12384d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/io/resource_uid.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ String ResourceUID::get_path_from_cache(Ref<FileAccess> &p_cache_file, const Str
311311
ERR_FAIL_COND_V(rl != len, String());
312312

313313
if (singleton->id_to_text(id) == p_uid_string) {
314-
return String(cs.get_data());
314+
return String::utf8(cs.get_data());
315315
}
316316
}
317317
return String();

0 commit comments

Comments
 (0)