diff --git a/core/io/file_access_zip.cpp b/core/io/file_access_zip.cpp index 064353476f2..c7f1a73f971 100644 --- a/core/io/file_access_zip.cpp +++ b/core/io/file_access_zip.cpp @@ -47,7 +47,7 @@ static void *godot_open(voidpf opaque, const char *p_fname, int mode) { return nullptr; } - Ref f = FileAccess::open(p_fname, FileAccess::READ); + Ref f = FileAccess::open(String::utf8(p_fname), FileAccess::READ); ERR_FAIL_COND_V(f.is_null(), nullptr); ZipData *zd = memnew(ZipData);