安装/配置
PHP Manual

运行时配置

这些函数的行为受 php.ini 中的设置影响。

Iconv configuration options
Name Default Changeable Changelog
iconv.input_encoding "ISO-8859-1" PHP_INI_ALL Available since PHP 4.0.5.
iconv.output_encoding "ISO-8859-1" PHP_INI_ALL Available since PHP 4.0.5.
iconv.internal_encoding "ISO-8859-1" PHP_INI_ALL Available since PHP 4.0.5.
有关 PHP_INI_* 样式的更多详情与定义,见 Where a configuration setting may be set

Warning

Some systems (like IBM AIX) use "ISO8859-1" instead of "ISO-8859-1" so this value has to be used in configuration options and function parameters.

Note:

Configuration option iconv.input_encoding is currently not used for anything.


安装/配置
PHP Manual