{"action":"created","issue":{"url":"https://api.github.com/repos/srikanth-lingala/zip4j/issues/69","repository_url":"https://api.github.com/repos/srikanth-lingala/zip4j","labels_url":"https://api.github.com/repos/srikanth-lingala/zip4j/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/srikanth-lingala/zip4j/issues/69/comments","events_url":"https://api.github.com/repos/srikanth-lingala/zip4j/issues/69/events","html_url":"https://github.com/srikanth-lingala/zip4j/issues/69","id":497660023,"node_id":"MDU6SXNzdWU0OTc2NjAwMjM=","number":69,"title":"Unzip file name garbled code","user":{"login":"l54808821","id":49773498,"node_id":"MDQ6VXNlcjQ5NzczNDk4","avatar_url":"https://avatars3.githubusercontent.com/u/49773498?v=4","gravatar_id":"","url":"https://api.github.com/users/l54808821","html_url":"https://github.com/l54808821","followers_url":"https://api.github.com/users/l54808821/followers","following_url":"https://api.github.com/users/l54808821/following{/other_user}","gists_url":"https://api.github.com/users/l54808821/gists{/gist_id}","starred_url":"https://api.github.com/users/l54808821/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l54808821/subscriptions","organizations_url":"https://api.github.com/users/l54808821/orgs","repos_url":"https://api.github.com/users/l54808821/repos","events_url":"https://api.github.com/users/l54808821/events{/privacy}","received_events_url":"https://api.github.com/users/l54808821/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2019-09-24T12:35:09Z","updated_at":"2019-09-27T09:29:05Z","closed_at":null,"author_association":"NONE","body":"Unzip file name garbled code"},"comment":{"url":"https://api.github.com/repos/srikanth-lingala/zip4j/issues/comments/535866225","html_url":"https://github.com/srikanth-lingala/zip4j/issues/69#issuecomment-535866225","issue_url":"https://api.github.com/repos/srikanth-lingala/zip4j/issues/69","id":535866225,"node_id":"MDEyOklzc3VlQ29tbWVudDUzNTg2NjIyNQ==","user":{"login":"srikanth-lingala","id":3450302,"node_id":"MDQ6VXNlcjM0NTAzMDI=","avatar_url":"https://avatars2.githubusercontent.com/u/3450302?v=4","gravatar_id":"","url":"https://api.github.com/users/srikanth-lingala","html_url":"https://github.com/srikanth-lingala","followers_url":"https://api.github.com/users/srikanth-lingala/followers","following_url":"https://api.github.com/users/srikanth-lingala/following{/other_user}","gists_url":"https://api.github.com/users/srikanth-lingala/gists{/gist_id}","starred_url":"https://api.github.com/users/srikanth-lingala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srikanth-lingala/subscriptions","organizations_url":"https://api.github.com/users/srikanth-lingala/orgs","repos_url":"https://api.github.com/users/srikanth-lingala/repos","events_url":"https://api.github.com/users/srikanth-lingala/events{/privacy}","received_events_url":"https://api.github.com/users/srikanth-lingala/received_events","type":"User","site_admin":false},"created_at":"2019-09-27T09:29:05Z","updated_at":"2019-09-27T09:29:05Z","author_association":"OWNER","body":"@varunam @l54808821 This is not an issue with zip4j. Zip file format handles different locale filenames by encoding in utf8 if required. Unfortunately, and to my surprise, a few very popular zip tools (7zip for example) do not follow zip standards by default. 7Zip uses system charset by default for encoding file names. This really does not make sense to me and this makes compatibility between locales impossible. If someone creates a zip file in Japan (with Japanese system default charset) and send it over to a person in China, there is no way that the zip tools in China can determine that the zip file names was encoded in Japanese charset. You can override this system default charset with zip standard behaviour by an option in 7Zip preferences. But I believe most, if not all of the users, don't do this. The only supported charsets by zip format is utf8 and Cp437. Using any other charset will break the zip file compatibility.\r\n\r\n[Here][1] is a reference thread on 7Zip forum which talks about this issue. I presume that Windows inbuilt zip utility also has the same behaviour as 7zip. The maintainer of 7zip in that thread, says that utf8 is a new feature. But that is wrong, unless in your opinion 13 years back is still \"new\". This feature was introduced in 2006 (The comment in the thread is from 2019). Reference: Revision 6.3.0 in [zip format specification][2].\r\n\r\nAs I said earlier, this is not an issue with zip4j, unfortunately I cannot help.\r\n\r\n[1]: https://sourceforge.net/p/sevenzip/discussion/45797/thread/03751f07/\r\n[2]: https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT"}}
{"actor":{"display_login":"srikanth-lingala"}}