{"action":"created","issue":{"url":"https://api.github.com/repos/whatwg/encoding/issues/4","labels_url":"https://api.github.com/repos/whatwg/encoding/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/whatwg/encoding/issues/4/comments","events_url":"https://api.github.com/repos/whatwg/encoding/issues/4/events","html_url":"https://github.com/whatwg/encoding/issues/4","id":78018722,"number":4,"title":"Benefits of \"Legacy\" Encodings  – Byte Counter","user":{"login":"zomp","id":1536432,"avatar_url":"https://avatars.githubusercontent.com/u/1536432?v=3","gravatar_id":"","url":"https://api.github.com/users/zomp","html_url":"https://github.com/zomp","followers_url":"https://api.github.com/users/zomp/followers","following_url":"https://api.github.com/users/zomp/following{/other_user}","gists_url":"https://api.github.com/users/zomp/gists{/gist_id}","starred_url":"https://api.github.com/users/zomp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zomp/subscriptions","organizations_url":"https://api.github.com/users/zomp/orgs","repos_url":"https://api.github.com/users/zomp/repos","events_url":"https://api.github.com/users/zomp/events{/privacy}","received_events_url":"https://api.github.com/users/zomp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-19T09:51:32Z","updated_at":"2015-06-01T00:03:18Z","closed_at":null,"body":"Hi, I appreciate UTF family encodings enforcement in `TextEncoder`, but the \"legacy\" ones might be needed in some situations. I created this thread to demonstrate one and ask your opinion.\r\n\r\nI have come across a problem which probably cannot be solved without \"legacy\" encodings support – byte counting of a text in its original encoding. I need to count bytes of a text in `<textarea>` as if it was in *windows-1250*, *koi8-u*... Do you happen to know how to count it, please?"},"comment":{"url":"https://api.github.com/repos/whatwg/encoding/issues/comments/107261224","html_url":"https://github.com/whatwg/encoding/issues/4#issuecomment-107261224","issue_url":"https://api.github.com/repos/whatwg/encoding/issues/4","id":107261224,"user":{"login":"annevk","id":1544111,"avatar_url":"https://avatars.githubusercontent.com/u/1544111?v=3","gravatar_id":"","url":"https://api.github.com/users/annevk","html_url":"https://github.com/annevk","followers_url":"https://api.github.com/users/annevk/followers","following_url":"https://api.github.com/users/annevk/following{/other_user}","gists_url":"https://api.github.com/users/annevk/gists{/gist_id}","starred_url":"https://api.github.com/users/annevk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annevk/subscriptions","organizations_url":"https://api.github.com/users/annevk/orgs","repos_url":"https://api.github.com/users/annevk/repos","events_url":"https://api.github.com/users/annevk/events{/privacy}","received_events_url":"https://api.github.com/users/annevk/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T00:03:18Z","updated_at":"2015-06-01T00:03:18Z","body":"Why would such tools not use utf-8 throughout? They could probably use an overhaul if that's really still the case..."}}