[
  {
    "Id": "211382",
    "ThreadId": "62283",
    "Html": "<p>Hi there. Firstly thank you for your great job with DotNetZip. Wonderfull work :) My problem is that I create a zip from php using PclZip, and DotNetZip can't extract it, saying a &quot;Bad signature&quot; error. Could you tell me what is the error and how can I fix? Thanks in advance.</p>",
    "PostedDate": "2009-07-13T10:06:10.2-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "211392",
    "ThreadId": "62283",
    "Html": "<p>Hey, thanks for using the forums.&nbsp; The whole goal is to make the knowledge base searchable.&nbsp;I don't know PclZip, and I'm not sure how many people use it, but maybe someone else might have the same problem, so let's use the forums just in case.</p>\r\n<p>I looked at the ZIP at the link you gave me and found a BOM at the start of the file.&nbsp; Following the BOM is the data for a valid zip file.&nbsp;</p>\r\n<p>If I remove the BOM, the file unzips just fine.&nbsp;</p>\r\n<p>Therefore, &nbsp;the way you are constructing your file seems to be incorrect.&nbsp; According to my understanding there should be no BOM at the start of a binary file, like a ZIP file.</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-07-13T10:31:52.14-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "211403",
    "ThreadId": "62283",
    "Html": "<p>Thanks for the answer. Could you tell me what exactly BOM stands for?</p>",
    "PostedDate": "2009-07-13T10:50:56.723-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "211509",
    "ThreadId": "62283",
    "Html": "<p>Oh, sorry.&nbsp;&nbsp; Jargon.</p>\r\n<p>BOM = Byte Order Mark .&nbsp;&nbsp;&nbsp; A series of header bytes sometimes attached to unicode-encoded text files.&nbsp; Shouldn't be present on a binary file.&nbsp; <a href=\"http://en.wikipedia.org/wiki/Byte_Order_Mark\">http://en.wikipedia.org/wiki/Byte_Order_Mark</a></p>\r\n<p>For UTF-8, the BOM is <code>EF BB BF</code> which is what I found at the start of your zip file.</p>\r\n<p>I saw your 2nd mail which said, you discovered the same thing. Somehow your output routine is going through a text processing stream, which emitting that BOM. For a text file, it would be ok. For a zip file, not.</p>",
    "PostedDate": "2009-07-13T15:08:45.64-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "211596",
    "ThreadId": "62283",
    "Html": "<p>OK, thanks, at least now I'm calm, that removing the first 3 bytes from the zip won't cause any problems.</p>",
    "PostedDate": "2009-07-13T23:59:24.163-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "211688",
    "ThreadId": "62283",
    "Html": "<p>On the contrary, removing those first three bytes makes the file usable.&nbsp; Removing the rubbish does not cause problems, it solves problems.&nbsp; The file is not usable otherwise.&nbsp;</p>",
    "PostedDate": "2009-07-14T05:18:09.137-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]