Fix decoding UTF-8 filenames on unzipping.

This commit is contained in:
bruvzg 2022-01-05 14:27:11 +02:00
parent d2ac67d55e
commit d2573c1636
No known key found for this signature in database
GPG key ID: 7960FCF39844EC38
8 changed files with 14 additions and 14 deletions

View file

@ -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