From abe413ff8c8962be2063fa6659d3a0e53dd0e9ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pa=CC=84vels=20Nadtoc=CC=8Cajevs?= <7645683+bruvzg@users.noreply.github.com> Date: Thu, 20 Mar 2025 16:33:01 +0200 Subject: [PATCH] Fix icons with non-ASCII file names in project manager. --- core/io/resource_uid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/io/resource_uid.cpp b/core/io/resource_uid.cpp index 140c8d7e45a..8378ec7b4cc 100644 --- a/core/io/resource_uid.cpp +++ b/core/io/resource_uid.cpp @@ -311,7 +311,7 @@ String ResourceUID::get_path_from_cache(Ref &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();