From 73e8e37698a2bf15427433b1f9e3f2002709e336 Mon Sep 17 00:00:00 2001 From: Rui Hirokawa Date: Thu, 28 Aug 2003 15:04:19 +0000 Subject: [PATCH] added not for PHP 4.3.3. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@138954 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mbstring/ini.xml | 5 ++-- reference/mbstring/reference.xml | 39 ++++++++++++++++++++++++-------- 2 files changed, 32 insertions(+), 12 deletions(-) diff --git a/reference/mbstring/ini.xml b/reference/mbstring/ini.xml index 9308edafe0..4415ee1fd1 100644 --- a/reference/mbstring/ini.xml +++ b/reference/mbstring/ini.xml @@ -1,5 +1,5 @@ - +
&reftitle.runtime; &extension.runtime; @@ -159,7 +159,8 @@ - + Multi-Byte String Functions Multi-Byte String @@ -28,8 +28,11 @@ Since PHP is basically designed for ISO-8859-1, some multi-byte character encoding does not work well with PHP. Therefore, it is - important to set mbstring.internal_encoding to - a character encoding that works with PHP. + important to set + mbstring.language to appropriate language + (i.e. "Japanese" for japanese) and + mbstring.internal_encoding to a character + encoding that works with PHP. PHP4 Character Encoding Requirements @@ -114,13 +117,29 @@ JIS, SJIS encoding conversion if binary data is used for HTTP input/output. - - If enctype for HTML form is set to - multipart/form-data, - mbstring does not convert character encoding - in POST data. If it is the case, strings are needed to be - converted to internal character encoding. - + + + For PHP 4.3.2 or earlier, + if enctype for HTML form is set to + multipart/form-data, + mbstring does not convert character encoding + in POST data. If it is the case, strings are needed to be + converted to internal character encoding. + + + + + Since PHP 4.3.3, + if enctype for HTML form is set to + multipart/form-data, and, + mbstring.encoding_translation is set to + On in &php.ini: + POST variables and uploaded filename will be converted to + internal character encoding. + But, characters specified in 'name' of HTML form will not be + converted. + +