{"action":"created","issue":{"url":"https://api.github.com/repos/Stuk/jszip/issues/483","repository_url":"https://api.github.com/repos/Stuk/jszip","labels_url":"https://api.github.com/repos/Stuk/jszip/issues/483/labels{/name}","comments_url":"https://api.github.com/repos/Stuk/jszip/issues/483/comments","events_url":"https://api.github.com/repos/Stuk/jszip/issues/483/events","html_url":"https://github.com/Stuk/jszip/issues/483","id":272673632,"node_id":"MDU6SXNzdWUyNzI2NzM2MzI=","number":483,"title":"The minified script is building corrupt files","user":{"login":"adam-winfree","id":5827972,"node_id":"MDQ6VXNlcjU4Mjc5NzI=","avatar_url":"https://avatars1.githubusercontent.com/u/5827972?v=4","gravatar_id":"","url":"https://api.github.com/users/adam-winfree","html_url":"https://github.com/adam-winfree","followers_url":"https://api.github.com/users/adam-winfree/followers","following_url":"https://api.github.com/users/adam-winfree/following{/other_user}","gists_url":"https://api.github.com/users/adam-winfree/gists{/gist_id}","starred_url":"https://api.github.com/users/adam-winfree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam-winfree/subscriptions","organizations_url":"https://api.github.com/users/adam-winfree/orgs","repos_url":"https://api.github.com/users/adam-winfree/repos","events_url":"https://api.github.com/users/adam-winfree/events{/privacy}","received_events_url":"https://api.github.com/users/adam-winfree/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-11-09T18:30:06Z","updated_at":"2018-09-28T02:00:18Z","closed_at":"2017-11-27T11:57:58Z","author_association":"NONE","body":"I'm sure I'm doing something incorrectly because no one else seems to be having this issue, but the minified script builds corrupt files (the script that hasn't been minified works fine). I believe it is because the Unicode characters are being converted from their literals to Unicode. For example:\r\n\r\n`exports.LOCAL_FILE_HEADER = \"PK\\x03\\x04\"`\r\n\r\nBecomes this when minified:\r\n\r\n`c.LOCAL_FILE_HEADER=\"PK\u0003\u0004\",`\r\n\r\nWhen it uses that data to write, it seems to be writing the unicode characters, and not the hex. My app should be reading everything as UTF-8, so it should be able to process the script correctly. I'm not sure where the issue is. Is there something missing in the documentation (or something I'm not seeing)?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/Stuk/jszip/issues/comments/425296562","html_url":"https://github.com/Stuk/jszip/issues/483#issuecomment-425296562","issue_url":"https://api.github.com/repos/Stuk/jszip/issues/483","id":425296562,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTI5NjU2Mg==","user":{"login":"Worthy7","id":4762399,"node_id":"MDQ6VXNlcjQ3NjIzOTk=","avatar_url":"https://avatars3.githubusercontent.com/u/4762399?v=4","gravatar_id":"","url":"https://api.github.com/users/Worthy7","html_url":"https://github.com/Worthy7","followers_url":"https://api.github.com/users/Worthy7/followers","following_url":"https://api.github.com/users/Worthy7/following{/other_user}","gists_url":"https://api.github.com/users/Worthy7/gists{/gist_id}","starred_url":"https://api.github.com/users/Worthy7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Worthy7/subscriptions","organizations_url":"https://api.github.com/users/Worthy7/orgs","repos_url":"https://api.github.com/users/Worthy7/repos","events_url":"https://api.github.com/users/Worthy7/events{/privacy}","received_events_url":"https://api.github.com/users/Worthy7/received_events","type":"User","site_admin":false},"created_at":"2018-09-28T02:00:18Z","updated_at":"2018-09-28T02:00:18Z","author_association":"NONE","body":"@dduponchel (ascii_only made no difference)"}}
{"actor":{"display_login":"Worthy7"}}