diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-01-05 14:27:11 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-01-05 14:31:20 +0200 |
commit | d2573c1636303f490df641f8a1cdaa3c46616054 (patch) | |
tree | d5d93f997e595be0531537f049ccc396d279a08c /platform/uwp | |
parent | d2ac67d55e693e26b1927ca25b9b1037acb1a256 (diff) |
Fix decoding UTF-8 filenames on unzipping.
Diffstat (limited to 'platform/uwp')
-rw-r--r-- | platform/uwp/export/export_plugin.cpp | 2 |
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 |