{"action":"created","issue":{"url":"https://api.github.com/repos/alek-sys/sublimetext_indentxml/issues/45","labels_url":"https://api.github.com/repos/alek-sys/sublimetext_indentxml/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/alek-sys/sublimetext_indentxml/issues/45/comments","events_url":"https://api.github.com/repos/alek-sys/sublimetext_indentxml/issues/45/events","html_url":"https://github.com/alek-sys/sublimetext_indentxml/issues/45","id":18401151,"number":45,"title":"Reformatting breaks encoding","user":{"login":"SlyNet","id":209227,"avatar_url":"https://avatars.githubusercontent.com/u/209227?v=3","gravatar_id":"","url":"https://api.github.com/users/SlyNet","html_url":"https://github.com/SlyNet","followers_url":"https://api.github.com/users/SlyNet/followers","following_url":"https://api.github.com/users/SlyNet/following{/other_user}","gists_url":"https://api.github.com/users/SlyNet/gists{/gist_id}","starred_url":"https://api.github.com/users/SlyNet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SlyNet/subscriptions","organizations_url":"https://api.github.com/users/SlyNet/orgs","repos_url":"https://api.github.com/users/SlyNet/repos","events_url":"https://api.github.com/users/SlyNet/events{/privacy}","received_events_url":"https://api.github.com/users/SlyNet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2013-08-22T08:54:48Z","updated_at":"2015-10-07T12:50:54Z","closed_at":null,"body":"If I reformat following XML:\r\n```\r\n<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\r\n<Tag><Tag1>Småhus</Tag1></Tag>\r\n```\r\nIt produces \r\n```\r\n<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\r\n<Tag>\r\n     <Tag1>SmÃ¥hus</Tag1>\r\n</Tag>\r\n```"},"comment":{"url":"https://api.github.com/repos/alek-sys/sublimetext_indentxml/issues/comments/146187205","html_url":"https://github.com/alek-sys/sublimetext_indentxml/issues/45#issuecomment-146187205","issue_url":"https://api.github.com/repos/alek-sys/sublimetext_indentxml/issues/45","id":146187205,"user":{"login":"DeusExMachina","id":401815,"avatar_url":"https://avatars.githubusercontent.com/u/401815?v=3","gravatar_id":"","url":"https://api.github.com/users/DeusExMachina","html_url":"https://github.com/DeusExMachina","followers_url":"https://api.github.com/users/DeusExMachina/followers","following_url":"https://api.github.com/users/DeusExMachina/following{/other_user}","gists_url":"https://api.github.com/users/DeusExMachina/gists{/gist_id}","starred_url":"https://api.github.com/users/DeusExMachina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeusExMachina/subscriptions","organizations_url":"https://api.github.com/users/DeusExMachina/orgs","repos_url":"https://api.github.com/users/DeusExMachina/repos","events_url":"https://api.github.com/users/DeusExMachina/events{/privacy}","received_events_url":"https://api.github.com/users/DeusExMachina/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T12:50:54Z","updated_at":"2015-10-07T12:50:54Z","body":"Same here.\r\nI have a file with\r\n<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\r\nsaved with ISO-8859-1 encoding.\r\n\r\nStartet the \"Indent XML\" command which broke the encoding in the file."}}