mbstring configuration options&Name;&Default;&Changeable;&Changelog;mbstring.language"neutral"PHP_INI_ALL
PHP_INI_PERDIR in PHP <= 5.2.6.
mbstring.detect_orderNULLPHP_INI_ALLmbstring.http_input"pass"PHP_INI_ALLDeprecated in PHP 5.6.0.mbstring.http_output"pass"PHP_INI_ALLDeprecated in PHP 5.6.0.mbstring.internal_encodingNULLPHP_INI_ALLDeprecated in PHP 5.6.0.mbstring.script_encodingNULLPHP_INI_ALLRemoved in PHP 5.4.0. Use zend.script_encoding instead.mbstring.substitute_characterNULLPHP_INI_ALLmbstring.func_overload"0"PHP_INI_SYSTEM
PHP_INI_PERDIR in PHP <= 5.2.6.
Deprecated in PHP 7.2.0.
mbstring.encoding_translation"0"PHP_INI_PERDIRmbstring.http_output_conv_mimetypes"^(text/|application/xhtml\+xml)"PHP_INI_ALLAvailable as of PHP 5.3.0.mbstring.strict_detection"0"PHP_INI_ALLAvailable as of PHP 5.1.2.
&ini.php.constants;
&ini.descriptions.title;
mbstring.languagestring
The default national language setting (NLS) used in mbstring. Note that this option
automagically defines mbstring.internal_encoding and
mbstring.internal_encoding should be placed
after mbstring.language in &php.ini;
mbstring.encoding_translationboolean
Enables the transparent character encoding filter for the incoming HTTP queries,
which performs detection and conversion of the input encoding to the
internal character encoding.
mbstring.internal_encodingstring
&warn.deprecated.feature-5-6-0;
Defines the default internal character encoding.
PHP 5.6 and later users should leave this empty and set
default_charset
instead.
mbstring.http_inputstring
&warn.deprecated.feature-5-6-0;
Defines the default HTTP input character encoding.
PHP 5.6 and later users should leave this empty and set
default_charset
instead.
mbstring.http_outputstring
&warn.deprecated.feature-5-6-0;
Defines the default HTTP output character encoding (output will be converted from the internal encoding to the HTTP output encoding upon output).
PHP 5.6 and later users should leave this empty and set
default_charset
instead.
mbstring.detect_orderstring
Defines default character code detection order. See also
mb_detect_order.
mbstring.substitute_characterstring
Defines character to substitute for invalid character encoding.
See mb_substitute_character for supported values.
mbstring.func_overloadstring
&warn.deprecated.feature-7-2-0;
Overloads a set of single byte functions by the mbstring counterparts. See
Function overloading for more
information.
This setting can only be changed from the &php.ini; file.
mbstring.http_output_conv_mimetypesstringmbstring.strict_detectionboolean
Enables the strict encoding detection.
According to the HTML 4.01 specification,
Web browsers are allowed to encode a form being submitted with a character
encoding different from the one used for the page.
See mb_http_input to detect character encoding
used by browsers.
Although popular browsers are capable of giving a reasonably accurate guess
to the character encoding of a given HTML document, it would be better to
set the charset parameter in the
Content-Type HTTP header to the appropriate value by
header or
default_charset ini setting.
&php.ini; setting examples&php.ini; setting for EUC-JP users&php.ini; setting for SJIS users