PHP.nl

sapi_windows_cp_get

sapi_windows_cp_get

Get current codepage

int **sapi_windows_cp_get** string $kind

Gets the current codepage.

kind The kind of operating system codepage to get, either or . Any other value refers to the current codepage of the process. 'ansi'``'oem'

If is , the current code page of the operating system is returned. If is , the current code page of the operating system is returned. Otherwise, the current codepage of the process is returned. kind``'ansi'``kind``'oem'

sapi_windows_cp_set