array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'function.sapi-windows-cp-get.php', 1 => 'sapi_windows_cp_get', ), 'up' => array ( 0 => 'ref.misc.php', 1 => 'その他の関数', ), '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' => 'ja', '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 — 現在のコードページを取得する
kind
取得するオペレーティングシステムのコードページ: 'ansi'
または 'oem'
それ以外の値は、現在のプロセスのコードページを参照します。
コードページの識別子を返します。
kind
が 'ansi'
の場合、
オペレーティングシステムの、現在の ANSI コードページを返します。
kind
が 'oem'
の場合、
オペレーティングシステムの、現在の OEM コードページを返します。
それ以外の場合、現在のプロセスのコードページを返します。