{"action":"created","issue":{"url":"https://api.github.com/repos/libarchive/libarchive/issues/526","labels_url":"https://api.github.com/repos/libarchive/libarchive/issues/526/labels{/name}","comments_url":"https://api.github.com/repos/libarchive/libarchive/issues/526/comments","events_url":"https://api.github.com/repos/libarchive/libarchive/issues/526/events","html_url":"https://github.com/libarchive/libarchive/issues/526","id":68293586,"number":526,"title":"Invalid encoded tar file","user":{"login":"dkhoriya","id":6524960,"avatar_url":"https://avatars.githubusercontent.com/u/6524960?v=3","gravatar_id":"","url":"https://api.github.com/users/dkhoriya","html_url":"https://github.com/dkhoriya","followers_url":"https://api.github.com/users/dkhoriya/followers","following_url":"https://api.github.com/users/dkhoriya/following{/other_user}","gists_url":"https://api.github.com/users/dkhoriya/gists{/gist_id}","starred_url":"https://api.github.com/users/dkhoriya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkhoriya/subscriptions","organizations_url":"https://api.github.com/users/dkhoriya/orgs","repos_url":"https://api.github.com/users/dkhoriya/repos","events_url":"https://api.github.com/users/dkhoriya/events{/privacy}","received_events_url":"https://api.github.com/users/dkhoriya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-14T07:44:19Z","updated_at":"2015-04-15T02:30:14Z","closed_at":null,"body":"I tried with the example given in doc/pdf/archive_write.3.pdf on page 6. I commented the part archive_write_set_compression_gzip(a);. And I compiled the code which ran fine. While executing I gave input and output files as parameters but the resultant output is invalid encoding, the file is corrupted with some name \"�s���s���s�� (invalid encoding)\" and it obviously can not be opened.\r\n\r\nCan someone tell what might be wrong with this?"},"comment":{"url":"https://api.github.com/repos/libarchive/libarchive/issues/comments/93156737","html_url":"https://github.com/libarchive/libarchive/issues/526#issuecomment-93156737","issue_url":"https://api.github.com/repos/libarchive/libarchive/issues/526","id":93156737,"user":{"login":"kientzle","id":1398793,"avatar_url":"https://avatars.githubusercontent.com/u/1398793?v=3","gravatar_id":"","url":"https://api.github.com/users/kientzle","html_url":"https://github.com/kientzle","followers_url":"https://api.github.com/users/kientzle/followers","following_url":"https://api.github.com/users/kientzle/following{/other_user}","gists_url":"https://api.github.com/users/kientzle/gists{/gist_id}","starred_url":"https://api.github.com/users/kientzle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kientzle/subscriptions","organizations_url":"https://api.github.com/users/kientzle/orgs","repos_url":"https://api.github.com/users/kientzle/repos","events_url":"https://api.github.com/users/kientzle/events{/privacy}","received_events_url":"https://api.github.com/users/kientzle/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T02:30:14Z","updated_at":"2015-04-15T02:30:14Z","body":"You will have to tell us a lot more details:\r\n  * What operating system?\r\n  * What version of libarchive?\r\n  * What compiler/IDE?\r\n  * How did you run it?\r\n  * Can you post your output file somewhere that we can look at it?\r\n"}}