{"action":"opened","issue":{"url":"https://api.github.com/repos/ahoward/systemu/issues/44","repository_url":"https://api.github.com/repos/ahoward/systemu","labels_url":"https://api.github.com/repos/ahoward/systemu/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/ahoward/systemu/issues/44/comments","events_url":"https://api.github.com/repos/ahoward/systemu/issues/44/events","html_url":"https://github.com/ahoward/systemu/issues/44","id":183853695,"number":44,"title":"ASCII-8BIT encoding","user":{"login":"albertnetymk","id":984374,"avatar_url":"https://avatars.githubusercontent.com/u/984374?v=3","gravatar_id":"","url":"https://api.github.com/users/albertnetymk","html_url":"https://github.com/albertnetymk","followers_url":"https://api.github.com/users/albertnetymk/followers","following_url":"https://api.github.com/users/albertnetymk/following{/other_user}","gists_url":"https://api.github.com/users/albertnetymk/gists{/gist_id}","starred_url":"https://api.github.com/users/albertnetymk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertnetymk/subscriptions","organizations_url":"https://api.github.com/users/albertnetymk/orgs","repos_url":"https://api.github.com/users/albertnetymk/repos","events_url":"https://api.github.com/users/albertnetymk/events{/privacy}","received_events_url":"https://api.github.com/users/albertnetymk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-19T02:55:55Z","updated_at":"2016-10-19T02:55:55Z","closed_at":null,"body":"```\r\nruby -e ' require \"systemu\";  p Encoding.default_internal = Encoding.default_external; status, stdout, stderr = systemu \"echo 3\"; p [status, stdout.encoding, stderr]'\r\n```\r\n\r\nThe result I got using ruby 2.3.1 and systemu 2.6.5 is:\r\n```\r\n#<Encoding:UTF-8>\r\n[#<Process::Status: pid 8346 exit 0>, #<Encoding:ASCII-8BIT>, \"\"]\r\n```\r\n\r\nI was expecting that changing `default_internal` would affect the encoding used by `systemu`. How can I tell `systemu` to use utf8 by default?"}}
{"actor":{"display_login":"albertnetymk"}}