(PHP 7 >= 7.1.0, PHP 8)
sapi_windows_cp_set — Set process codepage
sapi_windows_cp_set(int $codepage): bool
Set the codepage of the current process.
codepageA codepage identifier.
© 1997–2025 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