這些函式的行為受 php.ini 的影響。
名字 | 預設 | 可修改範圍 | 更新日誌 |
---|---|---|---|
iconv.input_encoding | "" | PHP_INI_ALL | Available since PHP 4.0.5. Deprecated in PHP 5.6.0. |
iconv.output_encoding | "" | PHP_INI_ALL | Available since PHP 4.0.5. Deprecated in PHP 5.6.0. |
iconv.internal_encoding | "" | PHP_INI_ALL | Available since PHP 4.0.5. Deprecated in PHP 5.6.0. |
以下是設定選項的簡要解釋。
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.
iconv.input_encoding
string
This feature has been DEPRECATED as of PHP 5.6.0. Relying on this feature is highly discouraged.
PHP 5.6 and later users should leave this empty and set
default_charset
instead.
iconv.output_encoding
string
This feature has been DEPRECATED as of PHP 5.6.0. Relying on this feature is highly discouraged.
PHP 5.6 and later users should leave this empty and set
default_charset
instead.
iconv.internal_encoding
string
This feature has been DEPRECATED as of PHP 5.6.0. Relying on this feature is highly discouraged.
PHP 5.6 and later users should leave this empty and set
default_charset
instead.