{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "",
    "ClosedDate": null,
    "CommentCount": 0,
    "Custom": null,
    "Description": "Some characters in the file path cause problems.\nI attach the test ZIP file.\nIf you run this code:\n\n```\n            var zip = ZipFile.Read(@\"Test.zip\");\n            var str = string.Empty;\n            foreach (var i in zip)\n            {\n                str += i.FileName + \"\\r\\n\";\n            }\n```\n\n..you will get this inside `str`:\n\n```\nÆ¥ æ¢å/\nÆ¥ æ¢å/Start à ç é è ê ë î ï ô û ù ü og ÿ End/\nÆ¥ æ¢å/Start à ç é è ê ë î ï ô û ù ü og ÿ End/Spesial tegn.txt\nÆØ æøå/Test 1-å Áá Čč Đđ Ŋŋ Šš Ŧŧ Žž End/\nÆØ æøå/Test 1-å Áá Čč Đđ Ŋŋ Šš Ŧŧ Žž End/Spesial tegn.txt\nÆØ æøå/Test 1-å Áá Čč Đđ Ŋŋ Šš Ŧŧ Žž End/Test 1.1/\nÆØ æøå/Test 2 -æ Ελληνικά End/\n```\n\nNotice the 0-level folder names.\nThey are not correct.\nI am not sure why this happens and which characters have this issue...",
    "LastUpdatedDate": "2015-10-06T01:01:07.787-07:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Unassigned",
      "Severity": 0,
      "Id": 0
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2015-10-01T07:45:28.307-07:00",
    "Status": {
      "Name": "Proposed",
      "Id": 1
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "FileName is wrong when using special characters.",
    "Type": {
      "Name": "Unassigned",
      "Id": 5
    },
    "VoteCount": 1,
    "Id": 17551
  },
  "FileAttachments": [
    {
      "FileId": 6115,
      "FileName": "Test.zip",
      "DownloadUrl": ".\\6115"
    }
  ],
  "Comments": [
    {
      "Message": "After some debugging I have located this method:\r\n\r\n```\nIonic.Zip.ZipEntry.ReadDirEntry \n```\r\n\r\n...and this line:\r\n\r\n```\nzde._FileNameInArchive = Ionic.Zip.SharedUtilities.StringFromBuffer(block, expectedEncoding);\n```\n...but no other type of encoding I've tried seems to solve the issue. :(\n",
      "PostedDate": "2015-10-02T03:03:55.023-07:00",
      "Id": -2147483648
    },
    {
      "Message": "Turns out this was not a bug.\nMost archivers (for some unknown reason) don't use UTF8 for file names but single byte code pages.\nAnd that caused the issue.\nI have used a default single byte code page when initializing the ZipFile to at least get some expected results most of the time.",
      "PostedDate": "2015-10-06T01:01:07.787-07:00",
      "Id": -2147483648
    }
  ]
}