From 9be0bd6f957a2b26275de813f5f7e8c22b414f94 Mon Sep 17 00:00:00 2001 From: Rui Hirokawa Date: Tue, 17 Sep 2002 16:56:29 +0000 Subject: [PATCH] added new mbstring option. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@95982 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mbstring/ini.xml | 36 ++++++++++++++++++++- reference/mbstring/reference.xml | 54 ++++++++++++++++++++++++++++++-- 2 files changed, 87 insertions(+), 3 deletions(-) diff --git a/reference/mbstring/ini.xml b/reference/mbstring/ini.xml index 17fe5287b1..d7eb4c6e0e 100644 --- a/reference/mbstring/ini.xml +++ b/reference/mbstring/ini.xml @@ -1,5 +1,5 @@ - +
&reftitle.runtime; &extension.runtime; @@ -69,6 +69,24 @@ Here is a short explanation of the configuration directives. + + + mbstring.language defines + default language used in mbstring. + Note that this option defines + mbstring.interanl_encoding + and mbstring.interanl_encoding + should be placed after mbstring.language + in &php.ini; + + + + + mbstring.encoding_translation enables + HTTP input character encoding detection and translation into + internal chatacter encoding. + + mbstring.internal_encoding defines default @@ -138,10 +156,17 @@ &php.ini; setting example - + Multi-Byte String Functions Multi-Byte String @@ -115,6 +115,30 @@ JIS, SJIS mbstring functions. This option is required to use mbstring functions. + + + As of PHP 4.3.0, the option + + will be enabled by default and replaced with + + to support Chinese, Korean and Russian language support. + Japanese character encoding is supported by default. + If + is used, simplified chinese encoding will be supported. + If + is used, traditional chinese encoding will be supported. + If + is used, korean encoding will be supported. + If + is used, russian encoding will be supported. + If + is added, all supported character encoding in mbstring + will be enabled, but the binary size of PHP will be + maximized because of huge Unicode character maps. + Note that Chinese, Korean and Russian encoding is + experimentally supported in PHP 4.3.0. + + @@ -125,6 +149,17 @@ JIS, SJIS converted to mbstring.internal_encoding automatically. + + + As of PHP 4.3.0, the option + + will be eliminated and replaced with + mbstring.encoding_translation. + HTTP input character encoding conversion is enabled + when this is set to On + (the default is Off). + + @@ -166,7 +201,8 @@ JIS, SJIS HTTP Input - There is no way to control HTTP input character + + There is no way to control HTTP input character conversion from PHP script. To disable HTTP input character conversion, it has to be done in &php.ini;. @@ -177,6 +213,8 @@ JIS, SJIS @@ -286,6 +324,18 @@ ob_start('mb_output_handler'); 7bit, 8bit and UTF7-IMAP. + + As of PHP 4.3.0, the following character encoding support will be added + experimentaly : + EUC-CN, CP936, HZ, + EUC-TW, CP950, BIG-5, + EUC-KR, UHC (CP949), + ISO-2022-KR, + Windows-1251 (CP1251), + Windows-1252 (CP1252), + CP866, + KOI8-R. + &php.ini; entry, which accepts encoding name, accepts "auto" and