[
  {
    "Id": "658794",
    "ThreadId": "269246",
    "Html": "\r\n<p>Hi,</p>\r\n<p>When i run self extractable exe it is not extracting files with japane name but when i click on 'Showcontents' button of exe it is showing files with it's name replaced with '????', please let me know how to extract these files.</p>\r\n<p>Regards,</p>\r\n<p>Santhosh.</p>\r\n<p>&nbsp;</p>\r\n",
    "PostedDate": "2011-08-16T05:31:24.637-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "661237",
    "ThreadId": "269246",
    "Html": "<p>Show the code you use to create the self-extracting archive.&nbsp; If you want Japanese filenames, you will need to use UTF-8 encoding.&nbsp; Have you done that?&nbsp; At the time you created the SFX, did you make sure to use UTF-8 encoding for the filenames?&nbsp; Show your code.</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2011-08-21T10:28:15.873-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "661407",
    "ThreadId": "269246",
    "Html": "<p>Hi,</p>\r\n<p><span style=\"color: #000000;\"><strong>Case1</strong></span><strong><span style=\"font-family: Consolas; color: #000000; font-size: x-small;\"><span style=\"font-family: Consolas; font-size: x-small;\">:</span></span></strong></p>\r\n<p><span style=\"color: #000000;\">The following is the code which we used for creating self extractable exe, We didn't used encoding here</span></p>\r\n<pre><span style=\"color: blue;\">Using</span> zip1 <span style=\"color: blue;\">As</span> <span style=\"color: blue;\">New</span> ZipFile() </pre>\r\n<pre> \tzip1.AddDirectory(sMoveDirectory)</pre>\r\n<pre>\t zip1.Comment = <span style=\"color: #a31515;\">\"This will be embedded into a self-extracting exe\"</span> </pre>\r\n<pre><span style=\"color: blue;\">\tDim</span> sSaveOption <span style=\"color: blue;\">As</span> <span style=\"color: blue;\">New</span> SelfExtractorSaveOptions</pre>\r\n<pre>\t sSaveOption.Flavor = SelfExtractorFlavor.WinFormsApplication</pre>\r\n<pre>\t sSaveOption.Quiet = <span style=\"color: blue;\">False</span></pre>\r\n<pre>\t zip1.SaveSelfExtractor(StageDir &amp; <span style=\"color: #a31515;\">\"\\\"</span> &amp; sTargetFile &amp; <span style=\"color: #a31515;\">\".exe\"</span>, sSaveOption) </pre>\r\n<pre><span style=\"color: blue;\">End</span> <span style=\"color: blue;\">Using</span></pre>\r\n<pre><span style=\"color: #000000;\"> we didn't got any files after extraction but when we click on 'ShowContents' button of exe we got files with it's part of the name is replaced with '?????'</span></pre>\r\n<pre><span style=\"color: #0000ff;\"><strong></strong></span>&nbsp;</pre>\r\n<pre><span style=\"color: #000000;\"><strong>Case2:</strong> </span></pre>\r\n<pre><span style=\"color: #0000ff;\">&nbsp;</span></pre>\r\n<pre>The following is the code which we used for creating self extractable exe, we used encoding here</pre>\r\n<pre style=\"background-color: white; color: black;\"><pre><span style=\"color: blue;\">Using</span> zip1 <span style=\"color: blue;\">As</span> <span style=\"color: blue;\">New</span> ZipFile()\r\n\r\n                        zip1.AlternateEncodingUsage = Ionic.Zip.ZipOption.Always\r\n                        zip1.AlternateEncoding = Text.Encoding.UTF7\r\n\r\n                        zip1.AddDirectory(sMoveDirectory)\r\n                        zip1.Comment = <span style=\"color: #a31515;\">\"This will be embedded into a self-extracting exe\"</span>\r\n\r\n                        <span style=\"color: blue;\">Dim</span> sSaveOption <span style=\"color: blue;\">As</span> <span style=\"color: blue;\">New</span> SelfExtractorSaveOptions\r\n                        sSaveOption.Flavor = SelfExtractorFlavor.WinFormsApplication\r\n                        sSaveOption.Quiet = <span style=\"color: blue;\">False</span>\r\n\r\n                        zip1.SaveSelfExtractor(StageDir &amp; <span style=\"color: #a31515;\">\"\\\"</span> &amp; sTargetFile &amp; <span style=\"color: #a31515;\">\".exe\"</span>, sSaveOption)\r\n\r\n                    <span style=\"color: blue;\">End</span> <span style=\"color: blue;\">Using</span>\r\n</pre>\r\n</pre>\r\n<pre><span style=\"font-family: Consolas; font-size: x-small;\"><span style=\"font-family: Consolas; font-size: x-small;\"></span></span>'sMoveDirectory' directory&nbsp;contains the files&nbsp;with japanese name for example 'Deki Search Test 日本語 エクセル.xls',&nbsp;When we extract files using that exe we got file but with different name 'Deki Search Test +ZeVnLIqe- +MKgwrzC7MOs-.xls'&nbsp; </pre>\r\n<pre>actually we&nbsp;want to&nbsp;get the same file with it's original japanese name ('Deki Search Test 日本語 エクセル.xls')&nbsp;&nbsp;&nbsp;</pre>\r\n<pre><span style=\"color: #000000;\">﻿<span style=\"color: #0000ff;\">Can you tell me how to get files with it's original japanese name after extraction</span></span></pre>\r\n<pre><span style=\"color: #000000;\"><span style=\"color: #0000ff;\">﻿</span></span></pre>\r\n<pre><span style=\"color: #000000;\">﻿Thank you.</span></pre>",
    "PostedDate": "2011-08-22T00:09:10.947-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "661592",
    "ThreadId": "269246",
    "Html": "<div class=\"UserName\"><a class=\"UserProfileLink\" href=\"http://www.codeplex.com/site/users/view/santhoshraoj\">santhoshraoj</a>,</div>\r\n<div class=\"UserName\">Have you tried Text.Encoding.UTF8? I am just creating regular zip files with Japanese / Chinese characters and using UTF8 works for me. I am able to unzip the files in its original text.</div>\r\n<div class=\"UserName\">Actually I did not know how to zip unicode characters until I saw your post using AlternateEncoding, so thanks!</div>\r\n<div class=\"UserName\">Art</div>",
    "PostedDate": "2011-08-22T08:40:13.777-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "661702",
    "ThreadId": "269246",
    "Html": "<p>Use UTF8 encoding.&nbsp; Check the documentation on AlternateEncoding.&nbsp; Do not specify UTF7.&nbsp; Specify UTF8.&nbsp; Read the documentation to understand why you must use UTF8 and not UTF7.</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2011-08-22T11:59:12.403-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "661911",
    "ThreadId": "269246",
    "Html": "<p>Thanks Chesso, I used UTF8, It's working fine now..........</p>",
    "PostedDate": "2011-08-22T23:25:22.913-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]