diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-01-05 15:08:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-05 15:08:27 +0100 |
commit | 75c06289c40b90275c3d715708e1924d920a8112 (patch) | |
tree | b93a2b1dbcf1ef10a25a785fe3b4fc0b41aa0208 /platform/javascript/export | |
parent | 63d9308b4b27ff6d50e2f663ec72b35edefc2ff2 (diff) | |
parent | d2573c1636303f490df641f8a1cdaa3c46616054 (diff) |
Merge pull request #56517 from bruvzg/fix_export_utf8
Diffstat (limited to 'platform/javascript/export')
-rw-r--r-- | platform/javascript/export/export_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/javascript/export/export_plugin.cpp b/platform/javascript/export/export_plugin.cpp index 2134deebcb..81ffae82bf 100644 --- a/platform/javascript/export/export_plugin.cpp +++ b/platform/javascript/export/export_plugin.cpp @@ -52,7 +52,7 @@ Error EditorExportPlatformJavaScript::_extract_template(const String &p_template char fname[16384]; unzGetCurrentFileInfo(pkg, &info, fname, 16384, nullptr, 0, nullptr, 0); - String file = fname; + String file = String::utf8(fname); // Skip service worker and offline page if not exporting pwa. if (!pwa && (file == "godot.service.worker.js" || file == "godot.offline.html")) { |