I am using the php class ZipArchive to create a zip archive. I use the second parameter of the addFile method to set the file name in the archive (since the real file on disk has a different name). Some names must contain French accents (e.g. & eacute;). When I download the archive, accents are not displayed correctly in the file name. What encoding should be used for file names? (application uses UTF-8)
php encoding ziparchive
matei
source share