PHP

sapi_windows_cp_get

sapi_windows_cp_get

(PHP 7 >= 7.1.0)

sapi_windows_cp_get — Get process codepage

Description

int sapi_windows_cp_get ( string $kind )

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

  • sapi_windows_cp_set() - Set process codepage

← sapi_windows_cp_conv

sapi_windows_cp_is_utf8 →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/function.sapi_windows_cp_get.php