Fix decoding UTF-8 filenames on unzipping.
This commit is contained in:
parent
d2ac67d55e
commit
d2573c1636
8 changed files with 14 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue