{"action":"closed","issue":{"url":"https://api.github.com/repos/lifthrasiir/rust-encoding/issues/84","labels_url":"https://api.github.com/repos/lifthrasiir/rust-encoding/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/lifthrasiir/rust-encoding/issues/84/comments","events_url":"https://api.github.com/repos/lifthrasiir/rust-encoding/issues/84/events","html_url":"https://github.com/lifthrasiir/rust-encoding/issues/84","id":68017241,"number":84,"title":"hz-gb-2312 encoding and WHATWG compatibility","user":{"login":"aneeshusa","id":2085567,"avatar_url":"https://avatars.githubusercontent.com/u/2085567?v=3","gravatar_id":"","url":"https://api.github.com/users/aneeshusa","html_url":"https://github.com/aneeshusa","followers_url":"https://api.github.com/users/aneeshusa/followers","following_url":"https://api.github.com/users/aneeshusa/following{/other_user}","gists_url":"https://api.github.com/users/aneeshusa/gists{/gist_id}","starred_url":"https://api.github.com/users/aneeshusa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aneeshusa/subscriptions","organizations_url":"https://api.github.com/users/aneeshusa/orgs","repos_url":"https://api.github.com/users/aneeshusa/repos","events_url":"https://api.github.com/users/aneeshusa/events{/privacy}","received_events_url":"https://api.github.com/users/aneeshusa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-13T06:13:51Z","updated_at":"2015-04-13T13:24:09Z","closed_at":"2015-04-13T13:24:09Z","body":"The WHATWG Encoding Spec [lists hz-gb-2312](https://encoding.spec.whatwg.org/#names-and-labels) as mapping to [the replacement encoding](https://encoding.spec.whatwg.org/#replacement), which uses the UTF-8 encoder and throws a special replacement encoding error for its decoder. However, it looks like this crate implements the actual HZ encoding. For WHATWG compatibility, this would have to get folded in with the rest of the replacement encodings, but I don't know if that's acceptable considering other people may be using the current implementation.\r\n\r\nWould you prefer to maintain strict WHATWG compatibility or keep the current implementation? If the current implementation is kept, this deviation needs to be well documented - it isn't too hard to work around, but is a bit annoying and could catch someone unaware because the rest of the crate is compatible."}}