mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-25 13:28:56 +00:00
99 lines
3.4 KiB
XML
99 lines
3.4 KiB
XML
![]() |
<?xml version="1.0" encoding="iso-8859-1"?>
|
||
|
<!-- $Revision: 1.1 $ -->
|
||
|
<section id="mbstring.installation">
|
||
|
&reftitle.install;
|
||
|
<para>
|
||
|
<literal>mbstring</literal> is an extended module. You must
|
||
|
enable the module with the <literal>configure</literal> script.
|
||
|
Refer to the <link linkend="installation">Install</link> section for
|
||
|
details.
|
||
|
</para>
|
||
|
<simpara>
|
||
|
The following configure options are related to the
|
||
|
<literal>mbstring</literal> module.
|
||
|
</simpara>
|
||
|
<para>
|
||
|
<itemizedlist>
|
||
|
<listitem>
|
||
|
<para>
|
||
|
<option role="configure">--enable-mbstring</option>: Enable
|
||
|
<literal>mbstring</literal> functions. This option is
|
||
|
required to use <literal>mbstring</literal> functions.
|
||
|
</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.
|
||
|
</para>
|
||
|
</note>
|
||
|
</listitem>
|
||
|
<listitem>
|
||
|
<para>
|
||
|
<option role="configure">--enable-mbstr-enc-trans</option> :
|
||
|
Enable HTTP input character encoding conversion using
|
||
|
<literal>mbstring</literal> conversion engine. If this
|
||
|
feature is enabled, HTTP input character encoding may be
|
||
|
converted to <literal>mbstring.internal_encoding</literal>
|
||
|
automatically.
|
||
|
</para>
|
||
|
<note>
|
||
|
<para>
|
||
|
As of PHP 4.3.0, the option
|
||
|
<option role="configure">--enable-mbstr-enc-trans</option>
|
||
|
will be eliminated and replaced with
|
||
|
<literal>mbstring.encoding_translation</literal>.
|
||
|
HTTP input character encoding conversion is enabled
|
||
|
when this is set to <literal>On</literal>
|
||
|
(the default is <literal>Off</literal>).
|
||
|
</para>
|
||
|
</note>
|
||
|
</listitem>
|
||
|
<listitem>
|
||
|
<para>
|
||
|
<option role="configure">--enable-mbregex</option>: Enable
|
||
|
regular expression functions with multibyte character support.
|
||
|
</para>
|
||
|
</listitem>
|
||
|
</itemizedlist>
|
||
|
</para>
|
||
|
</section>
|
||
|
|
||
|
<!-- Keep this comment at the end of the file
|
||
|
Local variables:
|
||
|
mode: sgml
|
||
|
sgml-omittag:t
|
||
|
sgml-shorttag:t
|
||
|
sgml-minimize-attributes:nil
|
||
|
sgml-always-quote-attributes:t
|
||
|
sgml-indent-step:1
|
||
|
sgml-indent-data:t
|
||
|
indent-tabs-mode:nil
|
||
|
sgml-parent-document:nil
|
||
|
sgml-default-dtd-file:"../../../manual.ced"
|
||
|
sgml-exposed-tags:nil
|
||
|
sgml-local-catalogs:nil
|
||
|
sgml-local-ecat-files:nil
|
||
|
End:
|
||
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||
|
vim: et tw=78 syn=sgml
|
||
|
vi: ts=1 sw=1
|
||
|
-->
|