diff --git a/core/io/file_access_zip.cpp b/core/io/file_access_zip.cpp index 84a6e4932..700166e66 100644 --- a/core/io/file_access_zip.cpp +++ b/core/io/file_access_zip.cpp @@ -44,7 +44,7 @@ static void *pandemonium_open(void *data, const char *p_fname, int mode) { return nullptr; } - FileAccess *f = FileAccess::open(p_fname, FileAccess::READ); + FileAccess *f = FileAccess::open(String::utf8(p_fname), FileAccess::READ); ERR_FAIL_COND_V(!f, nullptr); return f;