Installing/Configuring
PHP Manual

Runtime Configuration

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

Unicode Configuration Options
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.

For further details and definitions of the PHP_INI_* modes, see the Where a configuration setting may be set.

Here's a short explanation of the configuration directives.

unicode.output_encoding string

Default encoding for output.


Installing/Configuring
PHP Manual