]> granicus.if.org Git - php/commit
- initial unicode support
authorPierre Joye <pajoye@php.net>
Tue, 31 Oct 2006 14:27:09 +0000 (14:27 +0000)
committerPierre Joye <pajoye@php.net>
Tue, 31 Oct 2006 14:27:09 +0000 (14:27 +0000)
commit945f4cdfc4b0f049ad519faa2fc778718234a552
tree16116804959f757d093ca1b1e628a5f322bbb896
parentc48eda9fb3210eaf9d09965d9f0a74c027091b39
- initial unicode support
 . entry names will be converted to ascii. zip works with cp437
   when 7zip support will be added, unicode string will be supported
 . path and filenames are now encoded using php_stream_path_param_encode
   if the filename/path is used as entry name, it is converted to ascii
 . the stream (getStream and zip://) needs some tweak. I'm not sure if it
   should return unicode or binary, neither how to change the default. For
   now it returns unicode (seems to be the default :)
comments/suggestions welcome
ext/zip/php_zip.c
ext/zip/php_zip.h
ext/zip/tests/bug38943.phpt
ext/zip/tests/bug38944.phpt
ext/zip/tests/oo_extract.phpt