summaryrefslogtreecommitdiffstats
path: root/platform/iphone/export/export_plugin.cpp
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-01-05 14:27:11 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-01-05 14:31:20 +0200
commitd2573c1636303f490df641f8a1cdaa3c46616054 (patch)
treed5d93f997e595be0531537f049ccc396d279a08c /platform/iphone/export/export_plugin.cpp
parentd2ac67d55e693e26b1927ca25b9b1037acb1a256 (diff)
downloadredot-engine-d2573c1636303f490df641f8a1cdaa3c46616054.tar.gz
Fix decoding UTF-8 filenames on unzipping.
Diffstat (limited to 'platform/iphone/export/export_plugin.cpp')
-rw-r--r--platform/iphone/export/export_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/iphone/export/export_plugin.cpp b/platform/iphone/export/export_plugin.cpp
index 4a55ca1cbf..0ad68086a7 100644
--- a/platform/iphone/export/export_plugin.cpp
+++ b/platform/iphone/export/export_plugin.cpp
@@ -1484,7 +1484,7 @@ Error EditorExportPlatformIOS::export_project(const Ref<EditorExportPreset> &p_p
char fname[16384];
ret = unzGetCurrentFileInfo(src_pkg_zip, &info, fname, 16384, nullptr, 0, nullptr, 0);
- String file = fname;
+ String file = String::utf8(fname);
print_line("READ: " + file);
Vector<uint8_t> data;