<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/ziparchive/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/ziparchive/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 05 Mar 2008 14:14:23 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/ziparchive/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Unicode name of file added to zip is not displayed properly</title><link>https://sourceforge.net/p/ziparchive/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I tried to create a zip(say CZA) using  CZipArchive object. I used CZipArchive::AddNewFile(_T("假借字.doc")) to add 假借字.doc file to CZA.&lt;/p&gt;
&lt;p&gt;The doc file was added successfully, but on unzipping the above created zip, the name of the doc was displayed as "???.doc"&lt;/p&gt;
&lt;p&gt;Cause for above problem is "CP_ACP is used as first argument of WideCharToMultiByte(...) in CZipArchive::WideToSingle(...) function". &lt;/p&gt;
&lt;p&gt;I tried using CP_UTF8 in place of CP_ACP. Now the name of the document was displayed as "å_+å_Yå--.doc". I am not sure of the exact reason, but I guess it is the UTF-8 equivalent of "假借字"&lt;/p&gt;
&lt;p&gt;Is there any way to get the unicoded name of the document on unzipping the zip created by the API provided by ZipArchive.lib&lt;/p&gt;
&lt;p&gt;e-mail: s_singh@persistent.co.in&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 05 Mar 2008 14:14:23 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netdd53e6081a3c3cfa946cc0bdad8f587fca52e899</guid></item></channel></rss>