{"action":"created","issue":{"url":"https://api.github.com/repos/wakatime/wakatime/issues/32","labels_url":"https://api.github.com/repos/wakatime/wakatime/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/wakatime/wakatime/issues/32/comments","events_url":"https://api.github.com/repos/wakatime/wakatime/issues/32/events","html_url":"https://github.com/wakatime/wakatime/issues/32","id":97337342,"number":32,"title":"support non-ASCII characters in path to cli.py","user":{"login":"alanhamlett","id":522344,"avatar_url":"https://avatars.githubusercontent.com/u/522344?v=3","gravatar_id":"","url":"https://api.github.com/users/alanhamlett","html_url":"https://github.com/alanhamlett","followers_url":"https://api.github.com/users/alanhamlett/followers","following_url":"https://api.github.com/users/alanhamlett/following{/other_user}","gists_url":"https://api.github.com/users/alanhamlett/gists{/gist_id}","starred_url":"https://api.github.com/users/alanhamlett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanhamlett/subscriptions","organizations_url":"https://api.github.com/users/alanhamlett/orgs","repos_url":"https://api.github.com/users/alanhamlett/repos","events_url":"https://api.github.com/users/alanhamlett/events{/privacy}","received_events_url":"https://api.github.com/users/alanhamlett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-07-26T17:50:08Z","updated_at":"2015-08-24T14:26:48Z","closed_at":null,"body":"When [cli.py](https://github.com/wakatime/wakatime/blob/5ec42393b37bafecfb6037dfa52acd92486985d8/wakatime/cli.py#L14) adds the wakatime folder to `sys.path`, if the abspath contains any non-ASCII characters then an invalid path is added to `sys.path`.\r\n\r\nTo fix, need to make sure the path is unicode before adding to `sys.path`.\r\n\r\nOriginal issue: wakatime/visualstudio-wakatime#33\r\n\r\nRelated pull request: wakatime/visualstudio-wakatime#34\r\n\r\nSimilar to: kennethreitz/requests#2688"},"comment":{"url":"https://api.github.com/repos/wakatime/wakatime/issues/comments/134225303","html_url":"https://github.com/wakatime/wakatime/issues/32#issuecomment-134225303","issue_url":"https://api.github.com/repos/wakatime/wakatime/issues/32","id":134225303,"user":{"login":"shindannin","id":8682966,"avatar_url":"https://avatars.githubusercontent.com/u/8682966?v=3","gravatar_id":"","url":"https://api.github.com/users/shindannin","html_url":"https://github.com/shindannin","followers_url":"https://api.github.com/users/shindannin/followers","following_url":"https://api.github.com/users/shindannin/following{/other_user}","gists_url":"https://api.github.com/users/shindannin/gists{/gist_id}","starred_url":"https://api.github.com/users/shindannin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shindannin/subscriptions","organizations_url":"https://api.github.com/users/shindannin/orgs","repos_url":"https://api.github.com/users/shindannin/repos","events_url":"https://api.github.com/users/shindannin/events{/privacy}","received_events_url":"https://api.github.com/users/shindannin/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T14:26:48Z","updated_at":"2015-08-24T14:26:48Z","body":"Hi I tried the latest but it didn't work. I emailed to you with the log file. Could you look into it? Thanks!"}}