Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_wsystem and _wexec support #5

Open
hfhchan opened this issue Jan 29, 2015 · 1 comment
Open

_wsystem and _wexec support #5

hfhchan opened this issue Jan 29, 2015 · 1 comment

Comments

@hfhchan
Copy link

hfhchan commented Jan 29, 2015

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.

I 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().)

It will be very much appreciated if both _wsystem and _wexec, as well as utf-8 versions of shell_exec and passthru, could be supported!

@kenjiuno
Copy link
Owner

Hi, thanks for detail feedback! I'll try to support them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants