{"action":"opened","issue":{"url":"https://api.github.com/repos/hadley/dplyr/issues/2441","repository_url":"https://api.github.com/repos/hadley/dplyr","labels_url":"https://api.github.com/repos/hadley/dplyr/issues/2441/labels{/name}","comments_url":"https://api.github.com/repos/hadley/dplyr/issues/2441/comments","events_url":"https://api.github.com/repos/hadley/dplyr/issues/2441/events","html_url":"https://github.com/hadley/dplyr/issues/2441","id":208740340,"number":2441,"title":"Mojibake in error messages with column names on Windows","user":{"login":"krlmlr","id":1741643,"avatar_url":"https://avatars.githubusercontent.com/u/1741643?v=3","gravatar_id":"","url":"https://api.github.com/users/krlmlr","html_url":"https://github.com/krlmlr","followers_url":"https://api.github.com/users/krlmlr/followers","following_url":"https://api.github.com/users/krlmlr/following{/other_user}","gists_url":"https://api.github.com/users/krlmlr/gists{/gist_id}","starred_url":"https://api.github.com/users/krlmlr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krlmlr/subscriptions","organizations_url":"https://api.github.com/users/krlmlr/orgs","repos_url":"https://api.github.com/users/krlmlr/repos","events_url":"https://api.github.com/users/krlmlr/events{/privacy}","received_events_url":"https://api.github.com/users/krlmlr/received_events","type":"User","site_admin":false},"labels":[{"id":17708198,"url":"https://api.github.com/repos/hadley/dplyr/labels/bug","name":"bug","color":"e02a2a","default":true},{"id":276202384,"url":"https://api.github.com/repos/hadley/dplyr/labels/data%20frame","name":"data frame","color":"eeeeee","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-19T19:35:35Z","updated_at":"2017-02-19T19:35:35Z","closed_at":null,"body":"``` r\r\nlibrary(dplyr, warn.conflicts = FALSE)\r\na <- data_frame(a = 1)\r\nnames(a) <- \"\\u5e78\"\r\nb <- data_frame(a = 1)\r\nnames(b) <- \"\\u798f\"\r\nall.equal(a, b)\r\n#> [1] \"Cols in y but not x: Ã§Â¦Â. Cols in x but not y: Ã¥Â¹Â¸. \"\r\n```\r\n\r\nThis will be easier to fix after #2388, look for `get_cstring()` -- perhaps this method should return string in native encoding."}}
{"actor":{"display_login":"krlmlr"}}