Bug #74945 [Opn->Nab]: ZipArchive dont support UTF8 files (names) for open
| From: | requinix@php.net | Date: | Tue, 18 Jul 2017 11:14:40 +0000 |
| Subject: | Bug #74945 [Opn->Nab]: ZipArchive dont support UTF8 files (names) for open | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-210107@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74945&edit=1
ID: 74945
Updated by: requinix@php.net
Reported by: global dot ninety at gmail dot com
Summary: ZipArchive dont support UTF8 files (names) for open
-Status: Open
+Status: Not a bug
Type: Bug
-Package: *General Issues
+Package: Zip Related
Operating System: Win8/Ubuntu/CentOS
PHP Version: 5.6.31
Block user comment: N
Private report: N
New Comment:
@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.
Previous Comments:
------------------------------------------------------------------------
[2017-07-18 11:04:45] 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";
}
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74945&edit=1