Php/docs/function.sapi-windows-cp-set
From Get docs
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.