{"action":"created","issue":{"url":"https://api.github.com/repos/unitedstates/inspectors-general/issues/292","repository_url":"https://api.github.com/repos/unitedstates/inspectors-general","labels_url":"https://api.github.com/repos/unitedstates/inspectors-general/issues/292/labels{/name}","comments_url":"https://api.github.com/repos/unitedstates/inspectors-general/issues/292/comments","events_url":"https://api.github.com/repos/unitedstates/inspectors-general/issues/292/events","html_url":"https://github.com/unitedstates/inspectors-general/pull/292","id":176222102,"number":292,"title":"Hardcode encodings from <meta charset=\"...\"> tags","user":{"login":"divergentdave","id":181772,"avatar_url":"https://avatars.githubusercontent.com/u/181772?v=3","gravatar_id":"","url":"https://api.github.com/users/divergentdave","html_url":"https://github.com/divergentdave","followers_url":"https://api.github.com/users/divergentdave/followers","following_url":"https://api.github.com/users/divergentdave/following{/other_user}","gists_url":"https://api.github.com/users/divergentdave/gists{/gist_id}","starred_url":"https://api.github.com/users/divergentdave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/divergentdave/subscriptions","organizations_url":"https://api.github.com/users/divergentdave/orgs","repos_url":"https://api.github.com/users/divergentdave/repos","events_url":"https://api.github.com/users/divergentdave/events{/privacy}","received_events_url":"https://api.github.com/users/divergentdave/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-11T05:32:02Z","updated_at":"2016-09-11T14:14:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/unitedstates/inspectors-general/pulls/292","html_url":"https://github.com/unitedstates/inspectors-general/pull/292","diff_url":"https://github.com/unitedstates/inspectors-general/pull/292.diff","patch_url":"https://github.com/unitedstates/inspectors-general/pull/292.patch"},"body":"Following up on previous mojibake issues, this hardcodes character encodings for all remaining sites that set the encoding in a &lt;meta&gt; tag, and not in the Content-Type header. See below for the script I used to gather everything.\r\n\r\n```\r\n#!/bin/sh\r\nset -e\r\njq -r '.[] | .homepage_url | select(. != null)' ~/oversight.garden/config/inspectors.json | while IFS= read -r line\r\ndo\r\n  echo $line\r\n  curl -ikL $line | (grep -i charset= || true)\r\n  echo\r\ndone\r\n```"},"comment":{"url":"https://api.github.com/repos/unitedstates/inspectors-general/issues/comments/246182403","html_url":"https://github.com/unitedstates/inspectors-general/pull/292#issuecomment-246182403","issue_url":"https://api.github.com/repos/unitedstates/inspectors-general/issues/292","id":246182403,"user":{"login":"konklone","id":4592,"avatar_url":"https://avatars.githubusercontent.com/u/4592?v=3","gravatar_id":"","url":"https://api.github.com/users/konklone","html_url":"https://github.com/konklone","followers_url":"https://api.github.com/users/konklone/followers","following_url":"https://api.github.com/users/konklone/following{/other_user}","gists_url":"https://api.github.com/users/konklone/gists{/gist_id}","starred_url":"https://api.github.com/users/konklone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konklone/subscriptions","organizations_url":"https://api.github.com/users/konklone/orgs","repos_url":"https://api.github.com/users/konklone/repos","events_url":"https://api.github.com/users/konklone/events{/privacy}","received_events_url":"https://api.github.com/users/konklone/received_events","type":"User","site_admin":false},"created_at":"2016-09-11T14:14:26Z","updated_at":"2016-09-11T14:14:26Z","body":":+1: That is awesome.\r\n\r\nWant to inline or link to that script from the code, too? It'll be more portable that way."}}
{"actor":{"display_login":"konklone"}}