{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/ios/issues/442","labels_url":"https://api.github.com/repos/owncloud/ios/issues/442/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/ios/issues/442/comments","events_url":"https://api.github.com/repos/owncloud/ios/issues/442/events","html_url":"https://github.com/owncloud/ios/issues/442","id":100294485,"number":442,"title":"NON UTF-8 files can not be displayed correctly","user":{"login":"l12ab","id":5507878,"avatar_url":"https://avatars.githubusercontent.com/u/5507878?v=3","gravatar_id":"","url":"https://api.github.com/users/l12ab","html_url":"https://github.com/l12ab","followers_url":"https://api.github.com/users/l12ab/followers","following_url":"https://api.github.com/users/l12ab/following{/other_user}","gists_url":"https://api.github.com/users/l12ab/gists{/gist_id}","starred_url":"https://api.github.com/users/l12ab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l12ab/subscriptions","organizations_url":"https://api.github.com/users/l12ab/orgs","repos_url":"https://api.github.com/users/l12ab/repos","events_url":"https://api.github.com/users/l12ab/events{/privacy}","received_events_url":"https://api.github.com/users/l12ab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-11T11:43:35Z","updated_at":"2015-08-14T13:19:54Z","closed_at":null,"body":"I am a Chinese user and use Windows OS. I created a .txt file, typed some Chinese in the file, and saved it with encoding ANSI by default. Then upload the .txt file to my ownCloud.\r\n\r\nAnd opened the iOS app, downloaded the .txt file. Oh no, I can not read the Chinese I typed.\r\n\r\nIf I save the .txt file with encoding UTF-8, everything's OK.\r\n\r\nSo it's necessary to detect the encoding before open a text/plain file and change encoding to show the file."},"comment":{"url":"https://api.github.com/repos/owncloud/ios/issues/comments/131103642","html_url":"https://github.com/owncloud/ios/issues/442#issuecomment-131103642","issue_url":"https://api.github.com/repos/owncloud/ios/issues/442","id":131103642,"user":{"login":"l12ab","id":5507878,"avatar_url":"https://avatars.githubusercontent.com/u/5507878?v=3","gravatar_id":"","url":"https://api.github.com/users/l12ab","html_url":"https://github.com/l12ab","followers_url":"https://api.github.com/users/l12ab/followers","following_url":"https://api.github.com/users/l12ab/following{/other_user}","gists_url":"https://api.github.com/users/l12ab/gists{/gist_id}","starred_url":"https://api.github.com/users/l12ab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l12ab/subscriptions","organizations_url":"https://api.github.com/users/l12ab/orgs","repos_url":"https://api.github.com/users/l12ab/repos","events_url":"https://api.github.com/users/l12ab/events{/privacy}","received_events_url":"https://api.github.com/users/l12ab/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T13:19:54Z","updated_at":"2015-08-14T13:19:54Z","body":"@ggdiez \r\nI'm learning swift but dont know Obj-c"}}