hirokawa Sat Jan 21 04:25:50 2006 UTC
Modified files:
/phpdoc/en/reference/mbstring configure.xml ini.xml
Log:
added new option.
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/mbstring/configure.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/mbstring/configure.xml
diff -u phpdoc/en/reference/mbstring/configure.xml:1.5
phpdoc/en/reference/mbstring/configure.xml:1.6
--- phpdoc/en/reference/mbstring/configure.xml:1.5 Fri Aug 6 22:37:44 2004
+++ phpdoc/en/reference/mbstring/configure.xml Sat Jan 21 04:25:50 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<section id="mbstring.installation">
&reftitle.install;
<para>
@@ -16,31 +16,39 @@
<itemizedlist>
<listitem>
<para>
- <option role="configure">--enable-mbstring=LANG</option>: Enable
+ <option role="configure">--enable-mbstring</option>: Enable
<literal>mbstring</literal> functions. This option is
required to use <literal>mbstring</literal> functions.
</para>
<para>
+ <productname>libmbfl</productname> is necesarry for
<literal>mbstring</literal>.
+ <productname>libmbfl</productname> is bundled with
<literal>mbstring</literal>.
+ If <productname>libmbfl</productname> is already installed on the system,
+ <option role="configure">--with-libmbfl[=DIR]</option> can be specified
to use
+ the installed library.
+ </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.
+ </para>
+ <para>
+ For PHP 4.3.3 or before,
To enable that feature, you will have to supply either one of the
- following options to the <literal>LANG</literal> parameter;
+ following options to the <literal>LANG</literal> parameter
+ of <option role="configure">--enable-mbstring=LANG</option>;
<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, and
- <option role="configure">--enable-mbstring=ja</option> for Japanese
support.
- </para>
- <para>
- Also <option role="configure">--enable-mbstring=all</option> is
- convenient for you to enable all the supported languages listed above.
+ <option role="configure">--enable-mbstring=ja</option> for Japanese
support (default).
+ To enable all supported encoding, use <option
role="configure">--enable-mbstring=all</option>.
</para>
<note>
<para>
- Japanese language support is also enabled by
- <option role="configure">--enable-mbstring</option> without any options
- for the sake of backwards compatibility.
+ As of PHP 4.3.4,
+ all supported encoding by <productname>libmbfl</productname> is enabled
+ with <option role="configure">--enable-mbstring</option>.
</para>
</note>
</listitem>
@@ -67,7 +75,7 @@
</listitem>
<listitem>
<para>
- <option role="configure">--enable-mbregex</option>: Enable
+ <option role="configure">--disable-mbregex</option>: Disable
regular expression functions with multibyte character support.
</para>
</listitem>
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/mbstring/ini.xml?r1=1.15&r2=1.16&diff_format=u
Index: phpdoc/en/reference/mbstring/ini.xml
diff -u phpdoc/en/reference/mbstring/ini.xml:1.15
phpdoc/en/reference/mbstring/ini.xml:1.16
--- phpdoc/en/reference/mbstring/ini.xml:1.15 Tue Feb 22 17:36:07 2005
+++ phpdoc/en/reference/mbstring/ini.xml Sat Jan 21 04:25:50 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.15 $ -->
+<!-- $Revision: 1.16 $ -->
<section id="mbstring.configuration">
&reftitle.runtime;
&extension.runtime;
@@ -70,6 +70,12 @@
<entry>PHP_INI_PERDIR</entry>
<entry>Available since PHP 4.3.0.</entry>
</row>
+ <row>
+ <entry>mbstring.strict_detection</entry>
+ <entry>"0"</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry>Available since PHP 5.1.2.</entry>
+ </row>
</tbody>
</tgroup>
</table>
@@ -177,6 +183,17 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry id="ini.mbstring.strict-detection">
+ <term>
+ <parameter>mbstring.strict_detection</parameter>
+ <type>boolean</type>
+ </term>
+ <listitem>
+ <para>
+ Enables the strict encoding detection.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>