The behaviour of these functions is affected by settings in php.ini.
| 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. |
Here's a short explanation of the configuration directives.
Default encoding for output.