1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-17 14:11:06 +00:00

Fix multiple missing UTF-8 decoding.

(cherry picked from commit c69e0d16bc)
This commit is contained in:
bruvzg
2022-01-06 11:34:10 +02:00
committed by Rémi Verschelde
parent 9b149d5848
commit 6f81a8ee2c
12 changed files with 17 additions and 17 deletions

View File

@@ -191,7 +191,7 @@ bool ZipArchive::try_open_pack(const String &p_path, bool p_replace_files, uint6
f.package = pkg_num;
unzGetFilePos(zfile, &f.file_pos);
String fname = String("res://") + filename_inzip;
String fname = String("res://") + String::utf8(filename_inzip);
files[fname] = f;
uint8_t md5[16] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };