(PHP 7 >= 7.1.0, PHP 8)
sapi_windows_cp_set — Set process codepage
$codepage
Set the codepage of the current process.
codepage
A codepage identifier.
Returns true on success or false on failure.
true
false