{"action":"opened","issue":{"url":"https://api.github.com/repos/barbushin/php-imap/issues/77","labels_url":"https://api.github.com/repos/barbushin/php-imap/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/barbushin/php-imap/issues/77/comments","events_url":"https://api.github.com/repos/barbushin/php-imap/issues/77/events","html_url":"https://github.com/barbushin/php-imap/issues/77","id":69887580,"number":77,"title":"Problem with downloading files","user":{"login":"Lisand7ru","id":9965996,"avatar_url":"https://avatars.githubusercontent.com/u/9965996?v=3","gravatar_id":"","url":"https://api.github.com/users/Lisand7ru","html_url":"https://github.com/Lisand7ru","followers_url":"https://api.github.com/users/Lisand7ru/followers","following_url":"https://api.github.com/users/Lisand7ru/following{/other_user}","gists_url":"https://api.github.com/users/Lisand7ru/gists{/gist_id}","starred_url":"https://api.github.com/users/Lisand7ru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lisand7ru/subscriptions","organizations_url":"https://api.github.com/users/Lisand7ru/orgs","repos_url":"https://api.github.com/users/Lisand7ru/repos","events_url":"https://api.github.com/users/Lisand7ru/events{/privacy}","received_events_url":"https://api.github.com/users/Lisand7ru/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-21T16:13:33Z","updated_at":"2015-04-21T16:13:33Z","closed_at":null,"body":"Lib get some mails attachments and danage their.\r\n\r\nI decided the problem by commenting line:\r\n\r\n```php\r\nif(!empty($params['charset'])) {\r\n          $data = $this->convertStringEncoding($data, $params['charset'], $this->serverEncoding);\r\n}\r\n```\r\nin method \"initMailPart\".\r\n\r\nI think in this method only text parts must be converted"}}