{"action":"opened","issue":{"url":"https://api.github.com/repos/pywinauto/pywinauto/issues/594","repository_url":"https://api.github.com/repos/pywinauto/pywinauto","labels_url":"https://api.github.com/repos/pywinauto/pywinauto/issues/594/labels{/name}","comments_url":"https://api.github.com/repos/pywinauto/pywinauto/issues/594/comments","events_url":"https://api.github.com/repos/pywinauto/pywinauto/issues/594/events","html_url":"https://github.com/pywinauto/pywinauto/issues/594","id":376755787,"node_id":"MDU6SXNzdWUzNzY3NTU3ODc=","number":594,"title":"UnicodeEncodeError calling .windows()","user":{"login":"Hacksterrenewed","id":6247693,"node_id":"MDQ6VXNlcjYyNDc2OTM=","avatar_url":"https://avatars2.githubusercontent.com/u/6247693?v=4","gravatar_id":"","url":"https://api.github.com/users/Hacksterrenewed","html_url":"https://github.com/Hacksterrenewed","followers_url":"https://api.github.com/users/Hacksterrenewed/followers","following_url":"https://api.github.com/users/Hacksterrenewed/following{/other_user}","gists_url":"https://api.github.com/users/Hacksterrenewed/gists{/gist_id}","starred_url":"https://api.github.com/users/Hacksterrenewed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hacksterrenewed/subscriptions","organizations_url":"https://api.github.com/users/Hacksterrenewed/orgs","repos_url":"https://api.github.com/users/Hacksterrenewed/repos","events_url":"https://api.github.com/users/Hacksterrenewed/events{/privacy}","received_events_url":"https://api.github.com/users/Hacksterrenewed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-02T10:35:32Z","updated_at":"2018-11-02T10:35:32Z","closed_at":null,"author_association":"NONE","body":"I am using Python 2.7 64bit, and going through the Danish version of VCDS.\r\nCalling .windows() throws a UnicodeEncodeError error:\r\n\r\n[Traceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\nUnicodeEncodeError: 'ascii' codec can't encode character u'\\xe6' in position 49: ordinal not in range(128)\r\n\r\nHave been using it with the English version of VCDS, and it works flawlessly, couldn't be happier :) \r\n\r\nI can get through by calling \r\nimport sys\r\nreload(sys)\r\nsys.setdefaultencoding('utf8')\r\n\r\nBut that poses some other issues for me.\r\n\r\nThanks"}}
{"actor":{"display_login":"Hacksterrenewed"}}