{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "fixed in changeset 79164.  First binary with this fix&#58;  v1.9.1.6",
    "ClosedDate": "2011-06-15T06:06:54.837-07:00",
    "CommentCount": 0,
    "Custom": null,
    "Description": "DotNetZip 1.9.1.5\n \nFor the following code snippet:\nusing(ZipFile zip = ZipFile.Read(fileName))\n{\n  zip.AddDirectory(dirPath); // add some more files\n  zip.Save(fileName);\n}\n \nIf the zip previously had some utf8 filenames (originally saved by DotNetZip), those are lost in the next save.\n \nThe workaround:\nusing(ZipFile zip = ZipFile.Read(fileName))\n{\n  foreach(ZipEntry entry in zip)\n    entry.UseUnicodeAsNecessary = true;\n \n  zip.AddDirectory(dirPath); // add some more files\n  zip.Save(fileName);\n}\n \nIf autosetting UseUnicodeAsNecessary is unwanted for some reason, could Read() at least look for the \"using UTF8\" general purpose bit being set and then set the entry's encoding explicitly to UTF8?",
    "LastUpdatedDate": "2013-05-16T05:31:39.763-07:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2010-12-23T13:55:23.493-08:00",
    "Status": {
      "Name": "Closed",
      "Id": 4
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "ZipFile.Read does not preserve unicode filenames (with workaround)",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 1,
    "Id": 12744
  },
  "FileAttachments": [],
  "Comments": [
    {
      "Message": "To clarify, when I say that the utf8 filenames are lost, I mean the UTF8 bytes are interpreted by DotNetZip, WinRAR, and WinZIP as ASCII.",
      "PostedDate": "2010-12-23T13:59:55.29-08:00",
      "Id": -2147483648
    },
    {
      "Message": "Wow!  I'm really surprised to see this bug. Seems sort of basic.  Good catch. Thanks for reporting it. ",
      "PostedDate": "2011-06-15T06:05:24.5-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2011-06-15T06:06:54.837-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-02-21T18:43:19.563-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-05-16T05:31:39.763-07:00",
      "Id": -2147483648
    }
  ]
}