nimayneb / ziparchive-base64
ZipArchive extended with support for UTF-8 encoded strings using base64.
Installs: 4 064
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: ^7.1
- ext-json: *
- ext-zip: *
- symfony/console: ^2.7 || ^3.0 || ^4.0 || ^4.1
Requires (Dev)
- phpunit/phpunit: ^7.4.3
README
Not all files can be packed by ZipArchive. The problem is always the name for file or path when it has special characters (from UTF-8). Unfortunately you fully lose your character encoding and you cannot convert them back.
The solution or workaround for this behaviour is the file name and path name encoding to base64.