(PHP 7 >= 7.1.0)
sapi_windows_cp_get — Get process codepage
$kind
Get the identifier of the codepage of the current process.
kind
The kind of codepage: either 'ansi' or 'oem'.
'ansi'
'oem'
Returns the codepage identifier.