&reftitle.runtime; &extension.runtime; mbstring configuration options Name Default Changeable mbstring.language "neutral" PHP_INI_SYSTEM | PHP_INI_PERDIR mbstring.detect_order NULL PHP_INI_ALL mbstring.http_input "pass" PHP_INI_ALL mbstring.http_output "pass" PHP_INI_ALL mbstring.internal_encoding NULL PHP_INI_ALL mbstring.script_encoding NULL PHP_INI_ALL mbstring.substitute_character NULL PHP_INI_ALL mbstring.func_overload "0" PHP_INI_SYSTEM | PHP_INI_PERDIR mbstring.encoding_translation "0" PHP_INI_SYSTEM | PHP_INI_PERDIR
For the definition of the PHP_INI_* constants, please refer to ini_set.
&ini.descriptions.title; mbstring.language string 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_translation boolean 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_encoding string Defines the default internal character encoding. mbstring.http_input string Defines the default HTTP input character encoding. mbstring.http_output string Defines the default HTTP output character encoding. mbstring.detect_order string Defines default character code detection order. See also mb_detect_order. mbstring.substitute_character string Defines character to substitute for invalid character encoding. mbstring.func_overload string Overloads a set of single byte functions by the mbstring counterparts. See Function overloading for more information. 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 <literal>EUC-JP</literal> users &php.ini; setting for <literal>SJIS</literal> users