{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/5683","repository_url":"https://api.github.com/repos/neovim/neovim","labels_url":"https://api.github.com/repos/neovim/neovim/issues/5683/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/5683/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/5683/events","html_url":"https://github.com/neovim/neovim/issues/5683","id":192003455,"number":5683,"title":"cannot copy unicode characters","user":{"login":"haifengkao","id":4080524,"avatar_url":"https://avatars.githubusercontent.com/u/4080524?v=3","gravatar_id":"","url":"https://api.github.com/users/haifengkao","html_url":"https://github.com/haifengkao","followers_url":"https://api.github.com/users/haifengkao/followers","following_url":"https://api.github.com/users/haifengkao/following{/other_user}","gists_url":"https://api.github.com/users/haifengkao/gists{/gist_id}","starred_url":"https://api.github.com/users/haifengkao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haifengkao/subscriptions","organizations_url":"https://api.github.com/users/haifengkao/orgs","repos_url":"https://api.github.com/users/haifengkao/repos","events_url":"https://api.github.com/users/haifengkao/events{/privacy}","received_events_url":"https://api.github.com/users/haifengkao/received_events","type":"User","site_admin":false},"labels":[{"id":435851959,"url":"https://api.github.com/repos/neovim/neovim/labels/+repro","name":"+repro","color":"c2e0c6","default":false},{"id":435850181,"url":"https://api.github.com/repos/neovim/neovim/labels/+workaround","name":"+workaround","color":"c2e0c6","default":false},{"id":77997474,"url":"https://api.github.com/repos/neovim/neovim/labels/bug","name":"bug","color":"f9d0c4","default":true},{"id":186192409,"url":"https://api.github.com/repos/neovim/neovim/labels/clipboard","name":"clipboard","color":"c7def8","default":false},{"id":378639615,"url":"https://api.github.com/repos/neovim/neovim/labels/io","name":"io","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/neovim/neovim/milestones/11","html_url":"https://github.com/neovim/neovim/milestones/0.3","labels_url":"https://api.github.com/repos/neovim/neovim/milestones/11/labels","id":1183890,"number":11,"title":"0.3","description":"codename: \"red pill\"","creator":{"login":"justinmk","id":1359421,"avatar_url":"https://avatars.githubusercontent.com/u/1359421?v=3","gravatar_id":"","url":"https://api.github.com/users/justinmk","html_url":"https://github.com/justinmk","followers_url":"https://api.github.com/users/justinmk/followers","following_url":"https://api.github.com/users/justinmk/following{/other_user}","gists_url":"https://api.github.com/users/justinmk/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmk/subscriptions","organizations_url":"https://api.github.com/users/justinmk/orgs","repos_url":"https://api.github.com/users/justinmk/repos","events_url":"https://api.github.com/users/justinmk/events{/privacy}","received_events_url":"https://api.github.com/users/justinmk/received_events","type":"User","site_admin":false},"open_issues":151,"closed_issues":19,"state":"open","created_at":"2015-06-27T22:05:13Z","updated_at":"2016-12-03T21:52:55Z","due_on":null,"closed_at":null},"comments":13,"created_at":"2016-11-28T13:16:07Z","updated_at":"2016-12-05T11:18:08Z","closed_at":null,"body":"- `nvim --version`: NVIM 0.2.0-dev (9956bee)\r\n- Vim (version: ) behaves differently?  Yes\r\n- Operating system/version: OSX 10.11\r\n- Terminal name/version: iTerm\r\n- `$TERM`: xterm-256color\r\n\r\n### Actual behaviour\r\nThe unicode characters like `中文` cannot be copied.\r\n\r\n### Expected behaviour\r\nIt should be copied to registers.\r\n\r\n### Steps to reproduce using `nvim -u NORC`\r\n\r\n1. Open `System Preference` -> `Language & Region` in OSX\r\n2. Choose a non-English language as the preferred language (I use Chinese)\r\n3. Restart your mac\r\n4. Install a standalone Nyaovim from here https://github.com/haifengkao/NyaoVim-Unofficial/releases\r\n5. double click the Nyaovim.app\r\n6. type `中文<ESC>yyp`, it will not be copied\r\n\r\nThis issue is specified to Nyaovim, see https://github.com/rhysd/NyaoVim/issues/77\r\nHowever, it is NOT caused by Nyaovim.\r\n\r\nIf Nyaovim.app is opened from terminal with `open /Applications/Nyaovim.app`, it will copy the chars correctly.\r\n\r\n I think it is related to the locale detection of `neovim`. For some reason, the locale is not set correctly when it is not activated from the terminal and the system's preferred language is NOT English.\r\n"},"comment":{"url":"https://api.github.com/repos/neovim/neovim/issues/comments/264828826","html_url":"https://github.com/neovim/neovim/issues/5683#issuecomment-264828826","issue_url":"https://api.github.com/repos/neovim/neovim/issues/5683","id":264828826,"user":{"login":"justinmk","id":1359421,"avatar_url":"https://avatars.githubusercontent.com/u/1359421?v=3","gravatar_id":"","url":"https://api.github.com/users/justinmk","html_url":"https://github.com/justinmk","followers_url":"https://api.github.com/users/justinmk/followers","following_url":"https://api.github.com/users/justinmk/following{/other_user}","gists_url":"https://api.github.com/users/justinmk/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmk/subscriptions","organizations_url":"https://api.github.com/users/justinmk/orgs","repos_url":"https://api.github.com/users/justinmk/repos","events_url":"https://api.github.com/users/justinmk/events{/privacy}","received_events_url":"https://api.github.com/users/justinmk/received_events","type":"User","site_admin":false},"created_at":"2016-12-05T11:18:08Z","updated_at":"2016-12-05T11:18:08Z","body":"@thinker3 Did you try the work around?"}}
{"actor":{"display_login":"justinmk"}}