note 95725 added to function.ziparchive-addfile

From: Date: Mon, 18 Jan 2010 18:30:55 +0000
Subject: note 95725 added to function.ziparchive-addfile
Groups: php.notes 
Request: Send a blank email to php-notes+get-165086@lists.php.net to get a copy of this message
On my system (Windows), I found that ZipArchive uses IBM850 encoding for filenames (localname). For filenames with special characters such as (é) é which appears at 0xE9 in the ISO-8859-1, it is at 0x82 in IBM850. I had to call iconv('ISO-8859-1', 'IBM850', 'Québec') to get correct file names. ---- Server IP: 69.147.83.197 Probable Submitter: 64.18.162.126 ---- Manual Page -- http://www.php.net/manual/en/function.ziparchive-addfile.php Edit -- https://master.php.net/note/edit/95725 Del: integrated -- https://master.php.net/note/delete/95725/integrated Del: useless -- https://master.php.net/note/delete/95725/useless Del: bad code -- https://master.php.net/note/delete/95725/bad+code Del: spam -- https://master.php.net/note/delete/95725/spam Del: non-english -- https://master.php.net/note/delete/95725/non-english Del: in docs -- https://master.php.net/note/delete/95725/in+docs Del: other reasons-- https://master.php.net/note/delete/95725 Reject -- https://master.php.net/note/reject/95725 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#165086) next »