sapi_windows_cp_set()
(PHP 7 >= 7.1.0)
Set process codepage
说明
sapi_windows_cp_set(int $cp): bool
Set the codepage of the current process.
参数
- $cp
A codepage identifier.
返回值
成功时返回TRUE
,或者在失败时返回FALSE
。
参见
sapi_windows_cp_get()
Get process codepage
(PHP 7 >= 7.1.0)
Set process codepage
sapi_windows_cp_set(int $cp): bool
Set the codepage of the current process.
A codepage identifier.
成功时返回TRUE
,或者在失败时返回FALSE
。
sapi_windows_cp_get()
Get process codepage