PHP Function Reference

PHP sapi_windows_cp_set() Function



The PHP sapi_windows_cp_set() function is used to set the codepage of the current process.

Syntax

sapi_windows_cp_set(codepage)

Parameters

codepage Required. Specify a codepage identifier.

Return Value

Returns true on success or false on failure.


❮ PHP Miscellaneous Reference