展开

开发者手册

PHP语言 | Languagesapi_windows_cp_set

sapi_windows_cp_set

(PHP 7 >= 7.1.0)

sapi_windows_cp_set — Set process codepage

Description

代码语言:javascript
复制
bool sapi_windows_cp_set ( int $cp )

Set the codepage of the current process.

Parameters

cp

A codepage identifier.

Return Values

Returns TRUE on success or FALSE on failure.

See Also

  • sapi_windows_cp_get() - Get process codepage

← sapi_windows_cp_is_utf8

show_source →

代码语言:txt
复制
 © 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.