略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: sapi_windows_cp_get

2025-02-27

sapi_windows_cp_get

(PHP 7 >= 7.1.0, PHP 8)

sapi_windows_cp_getGet current codepage

说明

sapi_windows_cp_get(string $kind = ""): int

Gets 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.

参见

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。

官方地址:https://www.php.net/manual/en/function.sapi-windows-cp-get.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3