{"action":"created","issue":{"url":"https://api.github.com/repos/michael-lazar/rtv/issues/23","labels_url":"https://api.github.com/repos/michael-lazar/rtv/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/michael-lazar/rtv/issues/23/comments","events_url":"https://api.github.com/repos/michael-lazar/rtv/issues/23/events","html_url":"https://github.com/michael-lazar/rtv/issues/23","id":60007193,"number":23,"title":"Non-Ascii characters","user":{"login":"yskmt","id":3815274,"avatar_url":"https://avatars.githubusercontent.com/u/3815274?v=3","gravatar_id":"","url":"https://api.github.com/users/yskmt","html_url":"https://github.com/yskmt","followers_url":"https://api.github.com/users/yskmt/followers","following_url":"https://api.github.com/users/yskmt/following{/other_user}","gists_url":"https://api.github.com/users/yskmt/gists{/gist_id}","starred_url":"https://api.github.com/users/yskmt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yskmt/subscriptions","organizations_url":"https://api.github.com/users/yskmt/orgs","repos_url":"https://api.github.com/users/yskmt/repos","events_url":"https://api.github.com/users/yskmt/events{/privacy}","received_events_url":"https://api.github.com/users/yskmt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-03-05T20:00:10Z","updated_at":"2015-03-13T02:51:32Z","closed_at":null,"body":"I know that encoding is a sensitive issue, but is there a reason that you convert unicode string to ascii in `clean` function? That makes non-ascii characters (Japanese, Chinese, Korean, Arabic, Emoji, etc) not rendered.\r\n\r\nFor example, adding the following line in the beginning \r\n\r\n    import locale\r\n    locale.setlocale(locale.LC_ALL, '')\r\n\r\nand changing encoding in `clean` function to something like this\r\n\r\n    utf8_string = unicode_string.encode('utf-8', 'replace')\r\n\r\nmake non-ascii characters rendered on the console. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/michael-lazar/rtv/issues/comments/78763729","html_url":"https://github.com/michael-lazar/rtv/issues/23#issuecomment-78763729","issue_url":"https://api.github.com/repos/michael-lazar/rtv/issues/23","id":78763729,"user":{"login":"michael-lazar","id":5026795,"avatar_url":"https://avatars.githubusercontent.com/u/5026795?v=3","gravatar_id":"","url":"https://api.github.com/users/michael-lazar","html_url":"https://github.com/michael-lazar","followers_url":"https://api.github.com/users/michael-lazar/followers","following_url":"https://api.github.com/users/michael-lazar/following{/other_user}","gists_url":"https://api.github.com/users/michael-lazar/gists{/gist_id}","starred_url":"https://api.github.com/users/michael-lazar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael-lazar/subscriptions","organizations_url":"https://api.github.com/users/michael-lazar/orgs","repos_url":"https://api.github.com/users/michael-lazar/repos","events_url":"https://api.github.com/users/michael-lazar/events{/privacy}","received_events_url":"https://api.github.com/users/michael-lazar/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T02:51:32Z","updated_at":"2015-03-13T02:51:32Z","body":"Interesting reading on the subject http://stackoverflow.com/questions/3634627"}}