{"action":"created","issue":{"url":"https://api.github.com/repos/contentful/contentful.java/issues/72","labels_url":"https://api.github.com/repos/contentful/contentful.java/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/contentful/contentful.java/issues/72/comments","events_url":"https://api.github.com/repos/contentful/contentful.java/issues/72/events","html_url":"https://github.com/contentful/contentful.java/issues/72","id":81844099,"number":72,"title":"Content decoding","user":{"login":"butenkor","id":1469547,"avatar_url":"https://avatars.githubusercontent.com/u/1469547?v=3","gravatar_id":"","url":"https://api.github.com/users/butenkor","html_url":"https://github.com/butenkor","followers_url":"https://api.github.com/users/butenkor/followers","following_url":"https://api.github.com/users/butenkor/following{/other_user}","gists_url":"https://api.github.com/users/butenkor/gists{/gist_id}","starred_url":"https://api.github.com/users/butenkor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/butenkor/subscriptions","organizations_url":"https://api.github.com/users/butenkor/orgs","repos_url":"https://api.github.com/users/butenkor/repos","events_url":"https://api.github.com/users/butenkor/events{/privacy}","received_events_url":"https://api.github.com/users/butenkor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/contentful/contentful.java/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"tomxor","id":1352945,"avatar_url":"https://avatars.githubusercontent.com/u/1352945?v=3","gravatar_id":"","url":"https://api.github.com/users/tomxor","html_url":"https://github.com/tomxor","followers_url":"https://api.github.com/users/tomxor/followers","following_url":"https://api.github.com/users/tomxor/following{/other_user}","gists_url":"https://api.github.com/users/tomxor/gists{/gist_id}","starred_url":"https://api.github.com/users/tomxor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomxor/subscriptions","organizations_url":"https://api.github.com/users/tomxor/orgs","repos_url":"https://api.github.com/users/tomxor/repos","events_url":"https://api.github.com/users/tomxor/events{/privacy}","received_events_url":"https://api.github.com/users/tomxor/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-05-28T09:23:56Z","updated_at":"2015-06-01T11:30:06Z","closed_at":null,"body":"Current client implementation relies on JVM charset setting for body decoding\r\n(https://github.com/contentful/contentful.java/blob/master/src/main/java/com/contentful/java/cda/BaseModule.java#L104). Unfortunately JVMs default charset very often it is not UTF-8. According to doc (https://www.contentful.com/developers/documentation/content-delivery-api/http/#encoding) UTF-8 is default encoding for contentful API anyway so it would be nice if client would use this decoding as default  or at least provide a way to define decoding type to be used for client users."},"comment":{"url":"https://api.github.com/repos/contentful/contentful.java/issues/comments/107407482","html_url":"https://github.com/contentful/contentful.java/issues/72#issuecomment-107407482","issue_url":"https://api.github.com/repos/contentful/contentful.java/issues/72","id":107407482,"user":{"login":"tomxor","id":1352945,"avatar_url":"https://avatars.githubusercontent.com/u/1352945?v=3","gravatar_id":"","url":"https://api.github.com/users/tomxor","html_url":"https://github.com/tomxor","followers_url":"https://api.github.com/users/tomxor/followers","following_url":"https://api.github.com/users/tomxor/following{/other_user}","gists_url":"https://api.github.com/users/tomxor/gists{/gist_id}","starred_url":"https://api.github.com/users/tomxor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomxor/subscriptions","organizations_url":"https://api.github.com/users/tomxor/orgs","repos_url":"https://api.github.com/users/tomxor/repos","events_url":"https://api.github.com/users/tomxor/events{/privacy}","received_events_url":"https://api.github.com/users/tomxor/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T11:30:06Z","updated_at":"2015-06-01T11:30:06Z","body":"@butenkor I would just hardcode it to UTF-8, do you have a specific use-case for manually providing a different charset when creating a client? "}}