<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/ziparchive/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/ziparchive/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/ziparchive/bugs/</id><updated>2008-03-05T14:14:23Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Unicode name of file added to zip is not displayed properly</title><link href="https://sourceforge.net/p/ziparchive/bugs/1/" rel="alternate"/><published>2008-03-05T14:14:23Z</published><updated>2008-03-05T14:14:23Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netdd53e6081a3c3cfa946cc0bdad8f587fca52e899</id><summary type="html">&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;</summary></entry></feed>