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

2013-04-24 Thread animelp at yahoo dot com dot ar
Edit report at https://bugs.php.net/bug.php?id=53948&edit=1

 ID: 53948
 Comment by: animelp at yahoo dot com dot ar
 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:

same issue with PHP 5.2.14


Previous Comments:

[2011-12-01 13:49:14] nadavkav at gmail dot com

I experience the same issue.
While zipping Hebrew filenames on a CentOS 5.6 (GNU/LINUX) system
with php 5.2.x and 5.3.x
And then, trying to open the Zip file on a Windows XP system
In Which i get ?.txt as filenames.

Please see more info on the Moodle developer TRACKER system:
http://tracker.moodle.org/browse/MDL-24928


[2011-09-23 11:14:13] robert at softcom dot no

I also have a problem with this, so bump!


[2011-06-10 23:27:47] killerloin at yahoo dot com

is this problem solved yet? I really need a solution.


[2011-05-30 08:49:24] mikhail dot v dot gavrilov at gmail dot com

I also confirm this problem.

Workaround: Helps converting to your DOS encoding.


[2011-02-18 14:02:20] paj...@php.net

#51929




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


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

2011-12-01 Thread nadavkav at gmail dot com
Edit report at https://bugs.php.net/bug.php?id=53948&edit=1

 ID: 53948
 Comment by: nadavkav at gmail 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:

I experience the same issue.
While zipping Hebrew filenames on a CentOS 5.6 (GNU/LINUX) system
with php 5.2.x and 5.3.x
And then, trying to open the Zip file on a Windows XP system
In Which i get ?.txt as filenames.

Please see more info on the Moodle developer TRACKER system:
http://tracker.moodle.org/browse/MDL-24928


Previous Comments:

[2011-09-23 11:14:13] robert at softcom dot no

I also have a problem with this, so bump!


[2011-06-10 23:27:47] killerloin at yahoo dot com

is this problem solved yet? I really need a solution.


[2011-05-30 08:49:24] mikhail dot v dot gavrilov at gmail dot com

I also confirm this problem.

Workaround: Helps converting to your DOS encoding.


[2011-02-18 14:02:20] paj...@php.net

#51929


[2011-02-07 14:06:39] asaf at lingnu dot com

Description:

when creating zip archive with non-english filenames, 
the filenames are not encoded correctly, upon extraction
you get them like ???_???.txt.
(tested with various unzipping software on windows/linux)

a suggested workaround, e.g:

$zip->addFile($file_data['path'], iconv("UTF-8","CP852",$file_name));

doesn't help

Test script:
---
open('/tmp/test.zip', ZIPARCHIVE::CREATE) === TRUE) {

  $zip->addFile('/tmp/file.txt', 'קובץ.txt');

  $zip->close();

  echo "done";

   } else {

  echo "failed";

   }

?>


Expected result:

create a zip file which can be extracted reproducing the original file names.

Actual result:
--
non english file names comes out corrupted, e.g: ???_???.txt






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


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

2011-09-23 Thread robert at softcom dot no
Edit report at https://bugs.php.net/bug.php?id=53948&edit=1

 ID: 53948
 Comment by: robert at softcom dot no
 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:

I also have a problem with this, so bump!


Previous Comments:

[2011-06-10 23:27:47] killerloin at yahoo dot com

is this problem solved yet? I really need a solution.


[2011-05-30 08:49:24] mikhail dot v dot gavrilov at gmail dot com

I also confirm this problem.

Workaround: Helps converting to your DOS encoding.


[2011-02-18 14:02:20] paj...@php.net

#51929


[2011-02-07 14:06:39] asaf at lingnu dot com

Description:

when creating zip archive with non-english filenames, 
the filenames are not encoded correctly, upon extraction
you get them like ???_???.txt.
(tested with various unzipping software on windows/linux)

a suggested workaround, e.g:

$zip->addFile($file_data['path'], iconv("UTF-8","CP852",$file_name));

doesn't help

Test script:
---
open('/tmp/test.zip', ZIPARCHIVE::CREATE) === TRUE) {

  $zip->addFile('/tmp/file.txt', 'קובץ.txt');

  $zip->close();

  echo "done";

   } else {

  echo "failed";

   }

?>


Expected result:

create a zip file which can be extracted reproducing the original file names.

Actual result:
--
non english file names comes out corrupted, e.g: ???_???.txt






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


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

2011-06-10 Thread killerloin at yahoo dot com
Edit report at http://bugs.php.net/bug.php?id=53948&edit=1

 ID: 53948
 Comment by: killerloin at yahoo 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:

is this problem solved yet? I really need a solution.


Previous Comments:

[2011-05-30 08:49:24] mikhail dot v dot gavrilov at gmail dot com

I also confirm this problem.



Workaround: Helps converting to your DOS encoding.


[2011-02-18 14:02:20] paj...@php.net

#51929


[2011-02-07 14:06:39] asaf at lingnu dot com

Description:

when creating zip archive with non-english filenames, 

the filenames are not encoded correctly, upon extraction

you get them like ???_???.txt.

(tested with various unzipping software on windows/linux)



a suggested workaround, e.g:



$zip->addFile($file_data['path'], iconv("UTF-8","CP852",$file_name));



doesn't help

Test script:
---
open('/tmp/test.zip', ZIPARCHIVE::CREATE) === TRUE) {



  $zip->addFile('/tmp/file.txt', 'קובץ.txt');



  $zip->close();



  echo "done";



   } else {



  echo "failed";



   }



?>



Expected result:

create a zip file which can be extracted reproducing the original file names.

Actual result:
--
non english file names comes out corrupted, e.g: ???_???.txt






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


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

2011-05-29 Thread mikhail dot v dot gavrilov at gmail dot com
Edit report at http://bugs.php.net/bug.php?id=53948&edit=1

 ID: 53948
 Comment by: mikhail dot v dot gavrilov at gmail 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:

I also confirm this problem.



Workaround: Helps converting to your DOS encoding.


Previous Comments:

[2011-02-18 14:02:20] paj...@php.net

#51929


[2011-02-07 14:06:39] asaf at lingnu dot com

Description:

when creating zip archive with non-english filenames, 

the filenames are not encoded correctly, upon extraction

you get them like ???_???.txt.

(tested with various unzipping software on windows/linux)



a suggested workaround, e.g:



$zip->addFile($file_data['path'], iconv("UTF-8","CP852",$file_name));



doesn't help

Test script:
---
open('/tmp/test.zip', ZIPARCHIVE::CREATE) === TRUE) {



  $zip->addFile('/tmp/file.txt', 'קובץ.txt');



  $zip->close();



  echo "done";



   } else {



  echo "failed";



   }



?>



Expected result:

create a zip file which can be extracted reproducing the original file
names.

Actual result:
--
non english file names comes out corrupted, e.g: ???_???.txt






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