Bug #53948 [Com]: ZIP archive UTF-8 filenames problem

From: Date: Wed, 25 Nov 2015 12:51:55 +0000
Subject: Bug #53948 [Com]: ZIP archive UTF-8 filenames problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-197413@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=53948&edit=1

 ID:                 53948
 Comment by:         1710ef4e at opayq dot com
 Reported by:        asaf at lingnu dot com
 Summary:            ZIP archive UTF-8 filenames problem
 Status:             Duplicate
 Type:               Bug
 Package:            Zip Related
 Operating System:   linux
 PHP Version:        5.3.5
 Block user comment: N
 Private report:     N

 New Comment:

2016 is coming soon...


Previous Comments:
------------------------------------------------------------------------
[2015-05-19 11:44:18] allan dot mascarenhas1987 at gmail dot com

Is it fixed in higher versions of PHP ?

Also is there any technical work around to fix this issue ?

We are currently using Drupal 6 CMS, we have around 500+ custom modules and we can't afford
heavy testing for this change.

------------------------------------------------------------------------
[2015-05-19 09:27:25] requinix@php.net

@allan: PHP 5.3 reached end-of-life last August. http://php.net/eol.php

------------------------------------------------------------------------
[2015-05-19 07:22:12] allan dot mascarenhas1987 at gmail dot com

Can we have fix this issue ? 

PHP Version => 5.3.10-1ubuntu3.17
Extension Version => $Id: php_zip.c 321634 2012-01-01 13:15:04Z felipe $
Zip version => 1.9.1
Libzip version => 0.9.0
Web server => niginx

My problem is i can't update PHP to latest version, due code dependency. 

can someone look into this ?

------------------------------------------------------------------------
[2013-12-16 13:58:50] pajoye@php.net

or update to a more recent php version, 5.4+ or use latest zip from pecl.

------------------------------------------------------------------------
[2013-12-16 13:30:00] danhab2000 at yahoo dot com

Found solution.

http://stackoverflow.com/questions/20600843/php-ziparchive-non-english-filenames-return-funky-filenames-within-archive

To repeat in short, the below suggested workaround would work, except its wrong.  It should be CP862
not CP852.  (for hebrew)  See link.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=53948


--
Edit this bug report at https://bugs.php.net/bug.php?id=53948&edit=1


Thread (17 messages)

« previous php.bugs (#197413) next »