{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/jetty.project/issues/2280","repository_url":"https://api.github.com/repos/eclipse/jetty.project","labels_url":"https://api.github.com/repos/eclipse/jetty.project/issues/2280/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/jetty.project/issues/2280/comments","events_url":"https://api.github.com/repos/eclipse/jetty.project/issues/2280/events","html_url":"https://github.com/eclipse/jetty.project/issues/2280","id":302415100,"number":2280,"title":"Default application/json to utf-8 encoding in encoding.properties","user":{"login":"auniverseaway","id":1972095,"avatar_url":"https://avatars1.githubusercontent.com/u/1972095?v=4","gravatar_id":"","url":"https://api.github.com/users/auniverseaway","html_url":"https://github.com/auniverseaway","followers_url":"https://api.github.com/users/auniverseaway/followers","following_url":"https://api.github.com/users/auniverseaway/following{/other_user}","gists_url":"https://api.github.com/users/auniverseaway/gists{/gist_id}","starred_url":"https://api.github.com/users/auniverseaway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auniverseaway/subscriptions","organizations_url":"https://api.github.com/users/auniverseaway/orgs","repos_url":"https://api.github.com/users/auniverseaway/repos","events_url":"https://api.github.com/users/auniverseaway/events{/privacy}","received_events_url":"https://api.github.com/users/auniverseaway/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"joakime","id":191721,"avatar_url":"https://avatars1.githubusercontent.com/u/191721?v=4","gravatar_id":"","url":"https://api.github.com/users/joakime","html_url":"https://github.com/joakime","followers_url":"https://api.github.com/users/joakime/followers","following_url":"https://api.github.com/users/joakime/following{/other_user}","gists_url":"https://api.github.com/users/joakime/gists{/gist_id}","starred_url":"https://api.github.com/users/joakime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joakime/subscriptions","organizations_url":"https://api.github.com/users/joakime/orgs","repos_url":"https://api.github.com/users/joakime/repos","events_url":"https://api.github.com/users/joakime/events{/privacy}","received_events_url":"https://api.github.com/users/joakime/received_events","type":"User","site_admin":false},"assignees":[{"login":"joakime","id":191721,"avatar_url":"https://avatars1.githubusercontent.com/u/191721?v=4","gravatar_id":"","url":"https://api.github.com/users/joakime","html_url":"https://github.com/joakime","followers_url":"https://api.github.com/users/joakime/followers","following_url":"https://api.github.com/users/joakime/following{/other_user}","gists_url":"https://api.github.com/users/joakime/gists{/gist_id}","starred_url":"https://api.github.com/users/joakime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joakime/subscriptions","organizations_url":"https://api.github.com/users/joakime/orgs","repos_url":"https://api.github.com/users/joakime/repos","events_url":"https://api.github.com/users/joakime/events{/privacy}","received_events_url":"https://api.github.com/users/joakime/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-03-05T18:43:14Z","updated_at":"2018-03-13T19:25:43Z","closed_at":"2018-03-13T19:25:43Z","author_association":"NONE","body":"According to [RFC 7159](https://www.ietf.org/rfc/rfc7159.txt) JSON's mimeType should be `application/json` and according to Section 8.1, it should be encoded UTF-8 / 16 / 32.\r\n\r\nNot having `application/json` added to `encoding.properties` means JSON's default output is `ISO-8859-1`, which is incorrect.\r\n\r\nTechnically, `text/json` as listed in the current properties file shouldn't even exist, but I probably wouldn't want to remove it for fear of downstream issues. My suggestion is to only add `application/json=-utf-8` to the list."},"comment":{"url":"https://api.github.com/repos/eclipse/jetty.project/issues/comments/372788744","html_url":"https://github.com/eclipse/jetty.project/issues/2280#issuecomment-372788744","issue_url":"https://api.github.com/repos/eclipse/jetty.project/issues/2280","id":372788744,"user":{"login":"joakime","id":191721,"avatar_url":"https://avatars1.githubusercontent.com/u/191721?v=4","gravatar_id":"","url":"https://api.github.com/users/joakime","html_url":"https://github.com/joakime","followers_url":"https://api.github.com/users/joakime/followers","following_url":"https://api.github.com/users/joakime/following{/other_user}","gists_url":"https://api.github.com/users/joakime/gists{/gist_id}","starred_url":"https://api.github.com/users/joakime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joakime/subscriptions","organizations_url":"https://api.github.com/users/joakime/orgs","repos_url":"https://api.github.com/users/joakime/repos","events_url":"https://api.github.com/users/joakime/events{/privacy}","received_events_url":"https://api.github.com/users/joakime/received_events","type":"User","site_admin":false},"created_at":"2018-03-13T19:25:43Z","updated_at":"2018-03-13T19:25:43Z","author_association":"CONTRIBUTOR","body":"Fixed in commit aafda1a279573d07eb084185ff0dcc793c9d0b15"}}
{"actor":{"display_login":"joakime"}}