(PHP 7 >= 7.1.0)
sapi_windows_cp_set — Set process codepage
sapi_windows_cp_set ( int $cp ) : bool
Set the codepage of the current process.
cp
A codepage identifier.
Returns true
on success or false
on failure.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.sapi-windows-cp-set.php