{"action":"opened","issue":{"url":"https://api.github.com/repos/AngleSharp/AngleSharp/issues/453","repository_url":"https://api.github.com/repos/AngleSharp/AngleSharp","labels_url":"https://api.github.com/repos/AngleSharp/AngleSharp/issues/453/labels{/name}","comments_url":"https://api.github.com/repos/AngleSharp/AngleSharp/issues/453/comments","events_url":"https://api.github.com/repos/AngleSharp/AngleSharp/issues/453/events","html_url":"https://github.com/AngleSharp/AngleSharp/issues/453","id":188167578,"number":453,"title":"UWP not support Windows-1252 encoding","user":{"login":"quycao","id":20070323,"avatar_url":"https://avatars.githubusercontent.com/u/20070323?v=3","gravatar_id":"","url":"https://api.github.com/users/quycao","html_url":"https://github.com/quycao","followers_url":"https://api.github.com/users/quycao/followers","following_url":"https://api.github.com/users/quycao/following{/other_user}","gists_url":"https://api.github.com/users/quycao/gists{/gist_id}","starred_url":"https://api.github.com/users/quycao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quycao/subscriptions","organizations_url":"https://api.github.com/users/quycao/orgs","repos_url":"https://api.github.com/users/quycao/repos","events_url":"https://api.github.com/users/quycao/events{/privacy}","received_events_url":"https://api.github.com/users/quycao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-09T05:01:13Z","updated_at":"2016-11-09T05:01:13Z","closed_at":null,"body":"I test some website with Google Translate and it has encoding is Windows-1252. UWP is not support this encoding so we need have option to set encoding for UWP.\r\n\r\nNow I see it will use UTF-8 if website encoding is Windows-1252 but it is not correct in many case.\r\n\r\nprivate static Encoding GetEncoding(String name)\r\n        {\r\n            try\r\n            {\r\n                return Encoding.GetEncoding(name);\r\n            }\r\n            catch\r\n            {\r\n                // We use a catch em all since WP8 does throw a different\r\n                // exception than W*.\r\n\r\n                    return Utf8;\r\n            }\r\n        }"}}
{"actor":{"display_login":"quycao"}}