array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'function.sapi-windows-cp-get.php', 1 => 'sapi_windows_cp_get', ), 'up' => array ( 0 => 'ref.misc.php', 1 => 'Sonstige Funktionen', ), 'prev' => array ( 0 => 'function.sapi-windows-cp-conv.php', 1 => 'sapi_windows_cp_conv', ), 'next' => array ( 0 => 'function.sapi-windows-cp-is-utf8.php', 1 => 'sapi_windows_cp_is_utf8', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/misc/functions/sapi-windows-cp-get.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 7 >= 7.1.0, PHP 8)
sapi_windows_cp_get — Get current codepage
kind
The kind of operating system codepage to get,
either 'ansi'
or 'oem'
.
Any other value refers to the current codepage of the process.
If kind
is 'ansi'
,
the current ANSI code page of the operating system is returned.
If kind
is 'oem'
,
the current OEM code page of the operating system is returned.
Otherwise, the current codepage of the process is returned.