{"action":"opened","issue":{"url":"https://api.github.com/repos/xonsh/xonsh/issues/1737","repository_url":"https://api.github.com/repos/xonsh/xonsh","labels_url":"https://api.github.com/repos/xonsh/xonsh/issues/1737/labels{/name}","comments_url":"https://api.github.com/repos/xonsh/xonsh/issues/1737/comments","events_url":"https://api.github.com/repos/xonsh/xonsh/issues/1737/events","html_url":"https://github.com/xonsh/xonsh/issues/1737","id":177250259,"number":1737,"title":"XSH Import uses console encoding","user":{"login":"astronouth7303","id":401438,"avatar_url":"https://avatars.githubusercontent.com/u/401438?v=3","gravatar_id":"","url":"https://api.github.com/users/astronouth7303","html_url":"https://github.com/astronouth7303","followers_url":"https://api.github.com/users/astronouth7303/followers","following_url":"https://api.github.com/users/astronouth7303/following{/other_user}","gists_url":"https://api.github.com/users/astronouth7303/gists{/gist_id}","starred_url":"https://api.github.com/users/astronouth7303/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astronouth7303/subscriptions","organizations_url":"https://api.github.com/users/astronouth7303/orgs","repos_url":"https://api.github.com/users/astronouth7303/repos","events_url":"https://api.github.com/users/astronouth7303/events{/privacy}","received_events_url":"https://api.github.com/users/astronouth7303/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-15T18:18:38Z","updated_at":"2016-09-15T18:18:38Z","closed_at":null,"body":"I would think that when importing xsh files, the same encoding rules as importing Python should apply. That is:\r\n\r\n* If an encoding header is found, use that\r\n* Default to UTF-8\r\n\r\n(I discovered this when loading `xontrib-powerline` on Windows.)"}}
{"actor":{"display_login":"astronouth7303"}}