{"action":"closed","issue":{"url":"https://api.github.com/repos/guzzle/guzzle/issues/990","labels_url":"https://api.github.com/repos/guzzle/guzzle/issues/990/labels{/name}","comments_url":"https://api.github.com/repos/guzzle/guzzle/issues/990/comments","events_url":"https://api.github.com/repos/guzzle/guzzle/issues/990/events","html_url":"https://github.com/guzzle/guzzle/issues/990","id":59438994,"number":990,"title":"issue with json","user":{"login":"pgee70","id":5938974,"avatar_url":"https://avatars.githubusercontent.com/u/5938974?v=3","gravatar_id":"","url":"https://api.github.com/users/pgee70","html_url":"https://github.com/pgee70","followers_url":"https://api.github.com/users/pgee70/followers","following_url":"https://api.github.com/users/pgee70/following{/other_user}","gists_url":"https://api.github.com/users/pgee70/gists{/gist_id}","starred_url":"https://api.github.com/users/pgee70/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgee70/subscriptions","organizations_url":"https://api.github.com/users/pgee70/orgs","repos_url":"https://api.github.com/users/pgee70/repos","events_url":"https://api.github.com/users/pgee70/events{/privacy}","received_events_url":"https://api.github.com/users/pgee70/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-02T05:02:12Z","updated_at":"2015-03-03T17:57:33Z","closed_at":"2015-03-03T17:57:33Z","body":"Hi.\r\nI was having an issue with json decode, it was generating an exception because  the JSON was not encoded as UTF-8.  I know it strictly isn't an issue with guzzle - there was something wrong with the streamed data. but this fixed it for me.\r\n\r\nin the src/Message/response.php line 141 i wrapped the json string to parse in\r\nutf8_encode( (string) $this->getBody() )\r\n\r\nwhich did the trick.\r\n\r\n"}}