You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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 ofsystem()
in the Windows C Runtime Library.I wonder if you could provide a
wfio_system()
function that is a UTF-8 accepting equivalentsystem()
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 ofshell_exec
andpassthru
, could be supported!The text was updated successfully, but these errors were encountered: