Updated the document to reflect the reality.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@125614 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Moriyoshi Koizumi 2003-05-03 22:17:14 +00:00
parent 23559150d4
commit 924f15d9a7

View file

@ -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>