summaryrefslogtreecommitdiff
path: root/platform/uwp/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/uwp/export/export_plugin.cpp
parentd2ac67d55e693e26b1927ca25b9b1037acb1a256 (diff)
Fix decoding UTF-8 filenames on unzipping.
Diffstat (limited to 'platform/uwp/export/export_plugin.cpp')
-rw-r--r--platform/uwp/export/export_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/uwp/export/export_plugin.cpp b/platform/uwp/export/export_plugin.cpp
index f1f100bdd3..594495375a 100644
--- a/platform/uwp/export/export_plugin.cpp
+++ b/platform/uwp/export/export_plugin.cpp
@@ -325,7 +325,7 @@ Error EditorExportPlatformUWP::export_project(const Ref<EditorExportPreset> &p_p
char fname[16834];
ret = unzGetCurrentFileInfo(pkg, &info, fname, 16834, nullptr, 0, nullptr, 0);
- String path = fname;
+ String path = String::utf8(fname);
if (path.ends_with("/")) {
// Ignore directories