{"action":"created","issue":{"url":"https://api.github.com/repos/jcabi/jcabi-xml/issues/98","labels_url":"https://api.github.com/repos/jcabi/jcabi-xml/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/jcabi/jcabi-xml/issues/98/comments","events_url":"https://api.github.com/repos/jcabi/jcabi-xml/issues/98/events","html_url":"https://github.com/jcabi/jcabi-xml/issues/98","id":122434370,"number":98,"title":"ClasspathInput#getStringData() should specify encoding type","user":{"login":"simonjenga","id":1405237,"avatar_url":"https://avatars.githubusercontent.com/u/1405237?v=3","gravatar_id":"","url":"https://api.github.com/users/simonjenga","html_url":"https://github.com/simonjenga","followers_url":"https://api.github.com/users/simonjenga/followers","following_url":"https://api.github.com/users/simonjenga/following{/other_user}","gists_url":"https://api.github.com/users/simonjenga/gists{/gist_id}","starred_url":"https://api.github.com/users/simonjenga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonjenga/subscriptions","organizations_url":"https://api.github.com/users/simonjenga/orgs","repos_url":"https://api.github.com/users/simonjenga/repos","events_url":"https://api.github.com/users/simonjenga/events{/privacy}","received_events_url":"https://api.github.com/users/simonjenga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-16T05:52:14Z","updated_at":"2015-12-21T07:49:58Z","closed_at":null,"body":"```ClasspathInput.getStringData()``` doesn't specify an encoding type at the line:\r\n\r\n```return IOUtils.toString(this.stream);```\r\n\r\nThis may be a source of encoding problems.\r\n\r\nIn order to ensure backward compatibility with ```JDK 6```:\r\n\r\n```return IOUtils.toString(this.stream, java.nio.charset.Charset.forName(\"UTF-8\"));```\r\n\r\nUnlike using ```java.nio.charset.StandardCharsets.UTF_8``` which was introduced with ```JDK 7```."},"comment":{"url":"https://api.github.com/repos/jcabi/jcabi-xml/issues/comments/166225587","html_url":"https://github.com/jcabi/jcabi-xml/issues/98#issuecomment-166225587","issue_url":"https://api.github.com/repos/jcabi/jcabi-xml/issues/98","id":166225587,"user":{"login":"dmarkov","id":5993843,"avatar_url":"https://avatars.githubusercontent.com/u/5993843?v=3","gravatar_id":"","url":"https://api.github.com/users/dmarkov","html_url":"https://github.com/dmarkov","followers_url":"https://api.github.com/users/dmarkov/followers","following_url":"https://api.github.com/users/dmarkov/following{/other_user}","gists_url":"https://api.github.com/users/dmarkov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmarkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmarkov/subscriptions","organizations_url":"https://api.github.com/users/dmarkov/orgs","repos_url":"https://api.github.com/users/dmarkov/repos","events_url":"https://api.github.com/users/dmarkov/events{/privacy}","received_events_url":"https://api.github.com/users/dmarkov/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T07:49:58Z","updated_at":"2015-12-21T07:49:58Z","body":"@yegor256 dispatch this issue please, see [par.21](http://at.teamed.io/policy.html#21)"}}