sapi_windows_cp_get

(PHP 7 >= 7.1.0)

sapi_windows_cp_getGet process codepage

Description

sapi_windows_cp_get ( string $kind ) : int

Get the identifier of the codepage of the current process.

Parameters

kind

The kind of codepage: either 'ansi' or 'oem'.

Return Values

Returns the codepage identifier.

See Also