|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74945 ZipArchive dont support UTF8 files (names) for open
Submitted: 2017-07-18 11:04 UTC Modified: 2017-07-18 11:14 UTC
From: global dot ninety at gmail dot com Assigned:
Status: Not a bug Package: Zip Related
PHP Version: 5.6.31 OS: Win8/Ubuntu/CentOS
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
22 + 4 = ?
Subscribe to this entry?

 [2017-07-18 11:04 UTC] global dot ninety at gmail dot com
PHP ZipArchive dont support UTF8 files for open

my problem is OPEN files with UTF8 name. ZipArchive dont open files with UTF8 character. i dont add new file i need only open file.

Test script:
$path = "files/تست تست.zip";
$zip = new \ZipArchive();
if($zip->open($path) === true) {
   return "File opened";
   return "File could not be opened";


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-07-18 11:14 UTC]
-Status: Open +Status: Not a bug -Package: *General Issues +Package: Zip Related
 [2017-07-18 11:14 UTC]
@ab already talked about this in your other bug report:
> Thanks for the report. For the Windows part - these issues are fixed in PHP 7.1,
> please also check UPGRADING. On other platforms, it is much a topic of system
> configuration and process locale, not about PHP itself.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun May 16 04:01:23 2021 UTC