{"action":"opened","issue":{"url":"https://api.github.com/repos/kenjiuno/php-wfio/issues/5","labels_url":"https://api.github.com/repos/kenjiuno/php-wfio/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/kenjiuno/php-wfio/issues/5/comments","events_url":"https://api.github.com/repos/kenjiuno/php-wfio/issues/5/events","html_url":"https://github.com/kenjiuno/php-wfio/issues/5","id":55937111,"number":5,"title":"_wsystem and _wexec support","user":{"login":"hfhchan","id":8191296,"avatar_url":"https://avatars.githubusercontent.com/u/8191296?v=3","gravatar_id":"","url":"https://api.github.com/users/hfhchan","html_url":"https://github.com/hfhchan","followers_url":"https://api.github.com/users/hfhchan/followers","following_url":"https://api.github.com/users/hfhchan/following{/other_user}","gists_url":"https://api.github.com/users/hfhchan/gists{/gist_id}","starred_url":"https://api.github.com/users/hfhchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hfhchan/subscriptions","organizations_url":"https://api.github.com/users/hfhchan/orgs","repos_url":"https://api.github.com/users/hfhchan/repos","events_url":"https://api.github.com/users/hfhchan/events{/privacy}","received_events_url":"https://api.github.com/users/hfhchan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-29T18:25:22Z","updated_at":"2015-01-29T18:25:22Z","closed_at":null,"body":"Since PHP only has `system()`, it is impossible to run a command line that contains Unicode chars outside the current codepage.  However, Windows apps actually run a command line that contains Unicode chars by using `_wsystem()` instead of `system()` in the Windows C Runtime Library.\r\n\r\nI wonder if you could provide a `wfio_system()` function that is a UTF-8 accepting equivalent `system()` function for PHP? (This function would similarly need to convert UTF-8 to UTF-16 before calling `_wsystem()`.)\r\n\r\nIt will be very much appreciated if both `_wsystem` and `_wexec`, as well as utf-8 versions of `shell_exec` and `passthru`, could be supported!"}}