cvs: phpdoc /en/reference/mbstring configure.xml
| From: | Moriyoshi Koizumi | Date: | Sat, 03 May 2003 22:17:14 +0000 |
| Subject: | cvs: phpdoc /en/reference/mbstring configure.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969353125@lists.php.net to get a copy of this message | ||
moriyoshi Sat May 3 18:17:14 2003 EDT
Modified files:
/phpdoc/en/reference/mbstring configure.xml
Log:
Updated the document to reflect the reality.
Index: phpdoc/en/reference/mbstring/configure.xml
diff -u phpdoc/en/reference/mbstring/configure.xml:1.1
phpdoc/en/reference/mbstring/configure.xml:1.2
--- phpdoc/en/reference/mbstring/configure.xml:1.1 Sat Nov 30 10:33:18 2002
+++ phpdoc/en/reference/mbstring/configure.xml Sat May 3 18:17:14 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<section id="mbstring.installation">
&reftitle.install;
<para>
@@ -16,32 +16,33 @@
<itemizedlist>
<listitem>
<para>
- <option role="configure">--enable-mbstring</option>: Enable
+ <option role="configure">--enable-mbstring=LANG</option>: Enable
<literal>mbstring</literal> functions. This option is
required to use <literal>mbstring</literal> functions.
</para>
+ <para>
+ As of PHP 4.3.0, <literal>mbstring</literal> extension provides
+ enhanced support for Simplified Chinese, Traditional Chinese,
+ Korean, and Russian in addition to Japanese.
+ To enable that feature, you will have to supply either one of the
+ following options to the <literal>LANG</literal> parameter.
+ </para>
+ <para>
+ <option role="configure">--enable-mbstring=cn</option> for Simplified
Chinese support.
+ <option role="configure">--enable-mbstring=tw</option> for Traditional
Chinese support.
+ <option role="configure">--enable-mbstring=kr</option> for Korean
support.
+ <option role="configure">--enable-mbstring=ru</option> for Russian
support.
+ <option role="configure">--enable-mbstring=ja</option> for Japanese
support.
+ </para>
+ <para>
+ <option role="configure">--enable-mbstring=all</option> is
+ convenient for you to enable all the supported languages listed above.
+ </para>
<note>
<para>
- As of PHP 4.3.0, the option
- <option role="configure">--enable-mbstring</option>
- will be enabled by default and replaced with
- <option role="configure">--with-mbstring[=LANG]</option>
- to support Chinese, Korean and Russian language support.
- Japanese character encoding is supported by default.
- If <option role="configure">--with-mbstring=cn</option>
- is used, simplified chinese encoding will be supported.
- If <option role="configure">--with-mbstring=tw</option>
- is used, traditional chinese encoding will be supported.
- If <option role="configure">--with-mbstring=kr</option>
- is used, korean encoding will be supported.
- If <option role="configure">--with-mbstring=ru</option>
- is used, russian encoding will be supported.
- If <option role="configure">--with-mbstring=all</option>
- 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.
+ Japanese language support is also enabled by
+ <option role="configure">--enable-mbstring</option> without any
options
+ for the sake of backwards compatibility.
</para>
</note>
</listitem>