{"action":"created","issue":{"url":"https://api.github.com/repos/Rdatatable/data.table/issues/563","labels_url":"https://api.github.com/repos/Rdatatable/data.table/issues/563/labels{/name}","comments_url":"https://api.github.com/repos/Rdatatable/data.table/issues/563/comments","events_url":"https://api.github.com/repos/Rdatatable/data.table/issues/563/events","html_url":"https://github.com/Rdatatable/data.table/issues/563","id":35236285,"number":563,"title":"[R-Forge #4903] set encoding in fread","user":{"login":"arunsrinivasan","id":3102045,"avatar_url":"https://avatars.githubusercontent.com/u/3102045?v=3","gravatar_id":"","url":"https://api.github.com/users/arunsrinivasan","html_url":"https://github.com/arunsrinivasan","followers_url":"https://api.github.com/users/arunsrinivasan/followers","following_url":"https://api.github.com/users/arunsrinivasan/following{/other_user}","gists_url":"https://api.github.com/users/arunsrinivasan/gists{/gist_id}","starred_url":"https://api.github.com/users/arunsrinivasan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arunsrinivasan/subscriptions","organizations_url":"https://api.github.com/users/arunsrinivasan/orgs","repos_url":"https://api.github.com/users/arunsrinivasan/repos","events_url":"https://api.github.com/users/arunsrinivasan/events{/privacy}","received_events_url":"https://api.github.com/users/arunsrinivasan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Rdatatable/data.table/labels/feature%20request","name":"feature request","color":"734A82"},{"url":"https://api.github.com/repos/Rdatatable/data.table/labels/High","name":"High","color":"A62A7C"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":27,"created_at":"2014-06-08T13:15:57Z","updated_at":"2015-08-24T10:41:04Z","closed_at":null,"body":"Submitted by: michele de meo; Assigned to: Nobody; [R-Forge link](https://r-forge.r-project.org/tracker/index.php?func=detail&aid=4903&group_id=240&atid=978)\r\n\nIt's useful to specify the encoding before importing   a csv.\r\nFor example: \r\n\r\nfread(... , encoding='UTF8').\r\n\r\nIn this way we can avoid the boring use of file function in read.table (not supported in fread ):\r\n\r\nread.table(file(\"mycsv.csm\", encoding='UTF8'), ... ).\r\n\r\nMichele De Meo"},"comment":{"url":"https://api.github.com/repos/Rdatatable/data.table/issues/comments/134142930","html_url":"https://github.com/Rdatatable/data.table/issues/563#issuecomment-134142930","issue_url":"https://api.github.com/repos/Rdatatable/data.table/issues/563","id":134142930,"user":{"login":"leoluyi","id":8746961,"avatar_url":"https://avatars.githubusercontent.com/u/8746961?v=3","gravatar_id":"","url":"https://api.github.com/users/leoluyi","html_url":"https://github.com/leoluyi","followers_url":"https://api.github.com/users/leoluyi/followers","following_url":"https://api.github.com/users/leoluyi/following{/other_user}","gists_url":"https://api.github.com/users/leoluyi/gists{/gist_id}","starred_url":"https://api.github.com/users/leoluyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leoluyi/subscriptions","organizations_url":"https://api.github.com/users/leoluyi/orgs","repos_url":"https://api.github.com/users/leoluyi/repos","events_url":"https://api.github.com/users/leoluyi/events{/privacy}","received_events_url":"https://api.github.com/users/leoluyi/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T10:41:04Z","updated_at":"2015-08-24T10:41:04Z","body":"+1"}}