[
  {
    "Id": "89572",
    "ThreadId": "26782",
    "Html": "\r\nhi,<br />thanks for sharing this small but usefull library code to all of us.  (i'm using DotNetZip v1.3)<br />i hav found a problem regarding to files (folders?) with small names (smaller than 3 chars in length).<br />if you try to zip a file with a little filename such as \"R\" (without extension) you get an Subscript out of range error!<br />i solved this bug by modifying (adding (FileName.Length &gt;= 3) condition to) the code in ZipEntry.cs file as following:<br /><br />  // *** at Line 852: <br /> if ((TrimVolumeFromFullyQualifiedPaths) <u>&amp;&amp; (FileName.Length &gt;= 3)</u> &amp;&amp; (FileName[1] == ':') &amp;&amp; (FileName[2] == '\\\\')) filenameLength -= 3;<br /><br /> // *** and also at line 878:<br />char[] c = ((TrimVolumeFromFullyQualifiedPaths) <u>&amp;&amp; (FileName.Length &gt;= 3)</u>  &amp;&amp; (FileName[1] == ':') &amp;&amp; (FileName[2] == '\\\\')) ?<br />          FileName.Substring(3).Replace(\"\\\\\", \"/\").ToCharArray() :  // trim off volume letter, colon, and slash<br />          FileName.Replace(\"\\\\\", \"/\").ToCharArray();<br /><br /><br />i see another problem, currently we can not zip the files or folders with unicode names!<br />",
    "PostedDate": "2008-04-29T04:09:00.597-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "97450",
    "ThreadId": "26782",
    "Html": "Your first issue is a bug - thanks for the note. <br>\r\nI fixed it in the v1.5 code base. <br>\r\nsee change set 19765. <br>\r\n<br>\r\nThis fix will be in the v1.5 final release, but is not yet in the preview release.<br>\r\n<br>\r\nAs for the other thing you reported - Unicode.  Yes, that is an open issue. <br>\r\n<br>\r\n",
    "PostedDate": "2008-06-07T16:29:28.72-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]