sapi_windows_cp_get
(PHP 7 >= 7.1.0, PHP 8)
sapi_windows_cp_get — Get current codepage
说明
sapi_windows_cp_get(string
$kind
= ""): intGets the 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.
参见
- sapi_windows_cp_set() - Set process codepage
add a note
User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/function.sapi-windows-cp-get.php