Runtime Configuration

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

Iconv Configure 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.

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

Currently this option is not used.

iconv.output_encoding string

iconv.internal_encoding string