{"action":"closed","issue":{"url":"https://api.github.com/repos/BYVoid/uchardet/issues/19","labels_url":"https://api.github.com/repos/BYVoid/uchardet/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/BYVoid/uchardet/issues/19/comments","events_url":"https://api.github.com/repos/BYVoid/uchardet/issues/19/events","html_url":"https://github.com/BYVoid/uchardet/issues/19","id":121245609,"number":19,"title":"Detect files whose encoded has been corrupted by a text editor ?","user":{"login":"lovasoa","id":552629,"avatar_url":"https://avatars.githubusercontent.com/u/552629?v=3","gravatar_id":"","url":"https://api.github.com/users/lovasoa","html_url":"https://github.com/lovasoa","followers_url":"https://api.github.com/users/lovasoa/followers","following_url":"https://api.github.com/users/lovasoa/following{/other_user}","gists_url":"https://api.github.com/users/lovasoa/gists{/gist_id}","starred_url":"https://api.github.com/users/lovasoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lovasoa/subscriptions","organizations_url":"https://api.github.com/users/lovasoa/orgs","repos_url":"https://api.github.com/users/lovasoa/repos","events_url":"https://api.github.com/users/lovasoa/events{/privacy}","received_events_url":"https://api.github.com/users/lovasoa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-09T13:58:32Z","updated_at":"2015-12-09T16:10:34Z","closed_at":"2015-12-09T16:10:34Z","body":"It happens that when a text editor didn't detect the right encoding of a file while opening it, and then saves it to another encoding, it corrupts the file.\r\n\r\nSuch files are hard to recover, because no tool exist to detect their correct encoding.\r\n\r\nThis file was first saved as  WINDOWS-1251, then opened as WINDOWS-1252, and saved as UTF-8, and ended on a popular subtitles download site.\r\n[Princessa.I.Ljagushka.2009.RUS.BDRip.XviD.AC3.-HQCLUB.Rus.srt.txt](https://github.com/BYVoid/uchardet/files/56824/Princessa.I.Ljagushka.2009.RUS.BDRip.XviD.AC3.-HQCLUB.Rus.srt.txt)\r\n\r\nWould it be conceivable that uchardet could one day detect such \"composed\" charsets ?"}}