php.net |  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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: global dot ninety at gmail dot com
New email:
PHP Version: OS:

 

 [2017-07-18 11:04 UTC] global dot ninety at gmail dot com
Description:
------------
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";
}
else
{
   return "File could not be opened";
}


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-07-18 11:14 UTC] requinix@php.net
-Status: Open +Status: Not a bug -Package: *General Issues +Package: Zip Related
 [2017-07-18 11:14 UTC] requinix@php.net
@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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 16:01:29 2024 UTC