sapi_windows_cp_set
(PHP 7 >= 7.1.0)
sapi_windows_cp_set — Set process codepage
Description
sapi_windows_cp_set ( int $cp ) : bool
Set the codepage of the current process.
Parameters
-
cp
-
A codepage identifier.
Return Values
Returns true
on success or false
on failure.
See Also
- sapi_windows_cp_get() - Get current codepage
© 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