ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> phpdoc
phpdoc
[PHP-DOC] cvs: phpdoc /en/reference/mbstring ini.xml reference.xml
by Rui Hirokawa other posts by this author
Aug 28 2003 3:04PM messages near this date
[PHP-DOC] #25301 [NEW]: small error in the german documentation of the dechex-function | [PHP-DOC] preg_split() documentation improvement
hirokawa		Thu Aug 28 11:04:19 2003 EDT

  Modified files:              
    /phpdoc/en/reference/mbstring	ini.xml reference.xml 
  Log:
  added not for PHP 4.3.3.
  
Index: phpdoc/en/reference/mbstring/ini.xml
diff -u phpdoc/en/reference/mbstring/ini.xml:1.6 phpdoc/en/reference/mbstring/ini.xml:1.7
--- phpdoc/en/reference/mbstring/ini.xml:1.6	Thu May  1 17:52:57 2003
+++ phpdoc/en/reference/mbstring/ini.xml	Thu Aug 28 11:04:19 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?> 
-<!-- $Revision: 1.6 $ --> 
+<!-- $Revision: 1.7 $ --> 
 <section id="mbstring.configuration"> 
  &reftitle.runtime;
  &extension.runtime;
@@ -159,7 +159,8 @@
    <programlisting> 
 <![CDATA[
 ; Set default language
-mbstring.language        = English; Set default language to English (default)
+mbstring.language        = Neutral; Set default language to Neutral(UTF-8) (default)
+mbstring.language        = English; Set default language to English 
 mbstring.language        = Japanese; Set default language to Japanese
 
 ;; Set default internal encoding
Index: phpdoc/en/reference/mbstring/reference.xml
diff -u phpdoc/en/reference/mbstring/reference.xml:1.11 phpdoc/en/reference/mbstring/referen
ce.xml:1.12
--- phpdoc/en/reference/mbstring/reference.xml:1.11	Wed May 21 06:34:23 2003
+++ phpdoc/en/reference/mbstring/reference.xml	Thu Aug 28 11:04:19 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?> 
-<!-- $Revision: 1.11 $ --> 
+<!-- $Revision: 1.12 $ --> 
  <reference id="ref.mbstring"> 
   <title> Multi-Byte String Functions</title> 
   <titleabbrev> Multi-Byte String</titleabbrev>
@@ -28,8 +28,11 @@
     <para> 
      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 <literal> mbstring.internal_encoding</literal> to
-     a character encoding that works with PHP.
+     important to set 
+     <literal> mbstring.language</literal> to appropriate language 
+     (i.e. "Japanese" for japanese) and
+     <literal> mbstring.internal_encoding</literal> to a character
+     encoding that works with PHP.
     </para> 
     <para> 
      PHP4 Character Encoding Requirements 
@@ -114,13 +117,29 @@
       encoding conversion if binary data is used for HTTP
       input/output.
      </para> 
-     <para> 
-      If <literal> enctype</literal> for HTML form is set to
-      <literal> multipart/form-data</literal>,
-      <literal> mbstring</literal> does not convert character encoding
-      in POST data. If it is the case, strings are needed to be
-      converted to internal character encoding.
-     </para> 
+     <note> 
+      <para> 
+       For PHP 4.3.2 or earlier, 
+       if <literal> enctype</literal> for HTML form is set to
+       <literal> multipart/form-data</literal>,
+       <literal> mbstring</literal> does not convert character encoding
+        in POST data. If it is the case, strings are needed to be
+       converted to internal character encoding.
+      </para> 
+     </note> 
+     <note> 
+      <para> 
+       Since PHP 4.3.3,
+       if <literal> enctype</literal> for HTML form is set to
+       <literal> multipart/form-data</literal>, and, 
+       <literal> mbstring.encoding_translation</literal> 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.
+      </para> 
+     </note> 
      <para> 
       <itemizedlist> 
        <listitem> 

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved