-
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Hi,
I am trying to create a ZIP file, with files and folders, that contain UTF-8 filenames and directory names. ( for example, a file containing some cyrillic letters:
тестов_файл.txt
$zip = new \splitbrain\PHPArchive\Zip();
$zip->create('test.zip');
$zip->addFile('D:/testdir/тестов_файл.txt');
$zip->close();
The file in the zip is missing all the letters and corrupted: '_.txt'.
Other UTF-8 filenames other than Cyrillic also fails.
Tested with the latest version of the library on both Windows 10 22H2 and CloudLinux v.7
Metadata
Metadata
Assignees
Labels
No labels