Runtime Configuration

The behaviour of these functions is affected by settings in php.ini.

Iconv Configure Options
Name Default Changeable Changelog
iconv.input_encoding "" INI_ALL Deprecated in PHP 5.6.0.
iconv.output_encoding "" INI_ALL Deprecated in PHP 5.6.0.
iconv.internal_encoding "" INI_ALL Deprecated in PHP 5.6.0.

Here's a short explanation of the configuration directives.

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.

iconv.input_encoding string
Warning

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 input_encoding instead.

iconv.output_encoding string
Warning

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 output_encoding instead.

iconv.internal_encoding string
Warning

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.