{"action":"created","issue":{"url":"https://api.github.com/repos/whatwg/encoding/issues/68","repository_url":"https://api.github.com/repos/whatwg/encoding","labels_url":"https://api.github.com/repos/whatwg/encoding/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/whatwg/encoding/issues/68/comments","events_url":"https://api.github.com/repos/whatwg/encoding/issues/68/events","html_url":"https://github.com/whatwg/encoding/issues/68","id":168427149,"number":68,"title":"Add UTF-7 to replacement encoding list? ","user":{"login":"jungshik","id":8578343,"avatar_url":"https://avatars.githubusercontent.com/u/8578343?v=3","gravatar_id":"","url":"https://api.github.com/users/jungshik","html_url":"https://github.com/jungshik","followers_url":"https://api.github.com/users/jungshik/followers","following_url":"https://api.github.com/users/jungshik/following{/other_user}","gists_url":"https://api.github.com/users/jungshik/gists{/gist_id}","starred_url":"https://api.github.com/users/jungshik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jungshik/subscriptions","organizations_url":"https://api.github.com/users/jungshik/orgs","repos_url":"https://api.github.com/users/jungshik/repos","events_url":"https://api.github.com/users/jungshik/events{/privacy}","received_events_url":"https://api.github.com/users/jungshik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-29T22:31:13Z","updated_at":"2016-08-04T09:49:58Z","closed_at":null,"body":"Maybe this was discussed before, but I couldn't find a bug on this. What do you think of treating UTF-7 the same way as ISO-2022-{KR,CN}, HZ-GB, etc?  \r\n\r\nWhen decoding, the whole input is replaced by U+FFFD. When encoding, use UTF-8. \r\n\r\nBackground: Blink began to use Compact Encoding Detector ( google/compact_enc_det ) when no encoding label is found (http, meta). When 7-bit encoding detection is on, it detects ISO-2022-{KR,CN}, HZ-GB AND UTF-7 in addition to ISO-2022-JP.   7-bit encoding detection is ON for ISO-2022-JP, but we want to suppress other 7-bit encodings.  I think the best way to 'suppress' (unsupport) them is to turn the whole input to U+FFFD.   "},"comment":{"url":"https://api.github.com/repos/whatwg/encoding/issues/comments/237506739","html_url":"https://github.com/whatwg/encoding/issues/68#issuecomment-237506739","issue_url":"https://api.github.com/repos/whatwg/encoding/issues/68","id":237506739,"user":{"login":"hsivonen","id":478856,"avatar_url":"https://avatars.githubusercontent.com/u/478856?v=3","gravatar_id":"","url":"https://api.github.com/users/hsivonen","html_url":"https://github.com/hsivonen","followers_url":"https://api.github.com/users/hsivonen/followers","following_url":"https://api.github.com/users/hsivonen/following{/other_user}","gists_url":"https://api.github.com/users/hsivonen/gists{/gist_id}","starred_url":"https://api.github.com/users/hsivonen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsivonen/subscriptions","organizations_url":"https://api.github.com/users/hsivonen/orgs","repos_url":"https://api.github.com/users/hsivonen/repos","events_url":"https://api.github.com/users/hsivonen/events{/privacy}","received_events_url":"https://api.github.com/users/hsivonen/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T09:49:58Z","updated_at":"2016-08-04T09:49:58Z","body":"Also, does existing Web content actually require ISO-2022-JP to be heuristically detected (as opposed to heuristically detecting between Shift_JIS and EUC-JP)? Wouldn't in be a security improvement not to detect ISO-2022-JP and not to let it be chosen from the menu (i.e. support it only when labeled)?"}}
{"actor":{"display_login":"hsivonen"}}