{"action":"closed","issue":{"url":"https://api.github.com/repos/robotframework/robotframework/issues/2197","labels_url":"https://api.github.com/repos/robotframework/robotframework/issues/2197/labels{/name}","comments_url":"https://api.github.com/repos/robotframework/robotframework/issues/2197/comments","events_url":"https://api.github.com/repos/robotframework/robotframework/issues/2197/events","html_url":"https://github.com/robotframework/robotframework/issues/2197","id":115838822,"number":2197,"title":"Write redirected console output using system encoding, not console encoding","user":{"login":"pekkaklarck","id":114985,"avatar_url":"https://avatars.githubusercontent.com/u/114985?v=3","gravatar_id":"","url":"https://api.github.com/users/pekkaklarck","html_url":"https://github.com/pekkaklarck","followers_url":"https://api.github.com/users/pekkaklarck/followers","following_url":"https://api.github.com/users/pekkaklarck/following{/other_user}","gists_url":"https://api.github.com/users/pekkaklarck/gists{/gist_id}","starred_url":"https://api.github.com/users/pekkaklarck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pekkaklarck/subscriptions","organizations_url":"https://api.github.com/users/pekkaklarck/orgs","repos_url":"https://api.github.com/users/pekkaklarck/repos","events_url":"https://api.github.com/users/pekkaklarck/events{/privacy}","received_events_url":"https://api.github.com/users/pekkaklarck/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/robotframework/robotframework/labels/alpha%201","name":"alpha 1","color":"ffffff"},{"url":"https://api.github.com/repos/robotframework/robotframework/labels/bwic","name":"bwic","color":"fbca04"},{"url":"https://api.github.com/repos/robotframework/robotframework/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/robotframework/robotframework/labels/prio-medium","name":"prio-medium","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"pekkaklarck","id":114985,"avatar_url":"https://avatars.githubusercontent.com/u/114985?v=3","gravatar_id":"","url":"https://api.github.com/users/pekkaklarck","html_url":"https://github.com/pekkaklarck","followers_url":"https://api.github.com/users/pekkaklarck/followers","following_url":"https://api.github.com/users/pekkaklarck/following{/other_user}","gists_url":"https://api.github.com/users/pekkaklarck/gists{/gist_id}","starred_url":"https://api.github.com/users/pekkaklarck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pekkaklarck/subscriptions","organizations_url":"https://api.github.com/users/pekkaklarck/orgs","repos_url":"https://api.github.com/users/pekkaklarck/repos","events_url":"https://api.github.com/users/pekkaklarck/events{/privacy}","received_events_url":"https://api.github.com/users/pekkaklarck/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/robotframework/robotframework/milestones/40","html_url":"https://github.com/robotframework/robotframework/milestones/3.0","labels_url":"https://api.github.com/repos/robotframework/robotframework/milestones/40/labels","id":1176901,"number":40,"title":"3.0","description":"","creator":{"login":"pekkaklarck","id":114985,"avatar_url":"https://avatars.githubusercontent.com/u/114985?v=3","gravatar_id":"","url":"https://api.github.com/users/pekkaklarck","html_url":"https://github.com/pekkaklarck","followers_url":"https://api.github.com/users/pekkaklarck/followers","following_url":"https://api.github.com/users/pekkaklarck/following{/other_user}","gists_url":"https://api.github.com/users/pekkaklarck/gists{/gist_id}","starred_url":"https://api.github.com/users/pekkaklarck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pekkaklarck/subscriptions","organizations_url":"https://api.github.com/users/pekkaklarck/orgs","repos_url":"https://api.github.com/users/pekkaklarck/repos","events_url":"https://api.github.com/users/pekkaklarck/events{/privacy}","received_events_url":"https://api.github.com/users/pekkaklarck/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":4,"state":"open","created_at":"2015-06-23T08:36:43Z","updated_at":"2015-11-09T23:16:07Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-11-09T09:32:35Z","updated_at":"2015-11-09T23:16:07Z","closed_at":"2015-11-09T23:16:07Z","body":"Note: This issue only affects Windows where the console uses different encoding than rest of the system.\r\n\r\nCurrently when console output (stdout and stderr) is redirected, we write it in console encoding. This is not convenient when output is redirected into a file because editors typically use the system encoding. Another problem is that Python 3 automatically writes redirected outputs in system encoding and thus results are different depending or are tests run using Python 2 or 3. Using the system encoding also has a benefit that on Windows it supports a much wider set of characters than the console encoding.\r\n\r\nThis change is backwards incompatible but it shouldn't typically cause problems. It only affects users if they redirect outputs containing non-ASCII characters to files and then view them on the console e.g. using the `type` command. That ought to be a minor issue compared to the benefit of being able to open these files to normal editors (e.g. Notepad) correctly."}}