diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-01-06 11:34:10 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-01-06 14:35:22 +0200 |
commit | c69e0d16bc8adbe3d984f4f9953412986ed02791 (patch) | |
tree | c164078533bebe91a544618bf61c0a1045de886a /core/io/file_access_zip.cpp | |
parent | 1f0dc026491539ed07f144e0aad29cdfeaa5f66d (diff) | |
download | redot-engine-c69e0d16bc8adbe3d984f4f9953412986ed02791.tar.gz |
Fix multiple missing UTF-8 decoding.
Diffstat (limited to 'core/io/file_access_zip.cpp')
-rw-r--r-- | core/io/file_access_zip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/file_access_zip.cpp b/core/io/file_access_zip.cpp index d90a0c9110..6347862775 100644 --- a/core/io/file_access_zip.cpp +++ b/core/io/file_access_zip.cpp @@ -189,7 +189,7 @@ bool ZipArchive::try_open_pack(const String &p_path, bool p_replace_files, uint6 f.package = pkg_num; unzGetFilePos(zfile, &f.file_pos); - String fname = String("res://") + filename_inzip; + String fname = String("res://") + String::utf8(filename_inzip); files[fname] = f; uint8_t md5[16] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; |