这些函数的行为受 php.ini 的影响。
| Name | Default | Changeable | Changelog |
|---|---|---|---|
| unicode.fallback_encoding | NULL | PHP_INI_ALL | Available since PHP 6.0.0. |
| unicode.from_error_mode | "2" | PHP_INI_ALL | Available since PHP 6.0.0. |
| unicode.from_error_subst_char | "3f" | PHP_INI_ALL | Available since PHP 6.0.0. |
| unicode.http_input_encoding | NULL | PHP_INI_ALL | Available since PHP 6.0.0. |
| unicode.output_encoding | NULL | PHP_INI_ALL | Available since PHP 6.0.0. |
| unicode.runtime_encoding | NULL | PHP_INI_ALL | Available since PHP 6.0.0. |
| unicode.script_encoding | NULL | PHP_INI_ALL | Available since PHP 6.0.0. |
有关 PHP_INI_* 常量进一步的细节与定义参见php.ini 配置选项。
以下是配置选项的简要解释。
Default encoding for output.