svn: /phpdoc/ en/trunk/reference/mbstring/functions/mb-internal-encoding.xml ja/trunk/reference/mbstring/functions/mb-internal-encoding.xml
| From: | Yoshinari Takaoka | Date: | Fri, 22 Feb 2013 15:47:01 +0000 |
| Subject: | svn: /phpdoc/ en/trunk/reference/mbstring/functions/mb-internal-encoding.xml ja/trunk/reference/mbstring/functions/mb-internal-encoding.xml | ||
| Groups: | php.doc.ja php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-11028@lists.php.net to get a copy of this message | ||
mumumu Fri, 22 Feb 2013 15:47:01 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=329545
Log:
- added notice about the encoding for multibyte regex.
Changed paths:
U phpdoc/en/trunk/reference/mbstring/functions/mb-internal-encoding.xml
U phpdoc/ja/trunk/reference/mbstring/functions/mb-internal-encoding.xml
Modified: phpdoc/en/trunk/reference/mbstring/functions/mb-internal-encoding.xml
===================================================================
--- phpdoc/en/trunk/reference/mbstring/functions/mb-internal-encoding.xml 2013-02-22 14:51:30 UTC
(rev 329544)
+++ phpdoc/en/trunk/reference/mbstring/functions/mb-internal-encoding.xml 2013-02-22 15:47:01 UTC
(rev 329545)
@@ -29,6 +29,7 @@
used for the HTTP input character encoding conversion, HTTP output
character encoding conversion, and the default character encoding
for string functions defined by the mbstring module.
+ You should notice that the internal enconding is totally different from the one for
multibyte regex.
</para>
</listitem>
</varlistentry>
@@ -41,6 +42,7 @@
<para>
If <parameter>encoding</parameter> is set, then
&return.success;
+ In this case, the character encoding for multibyte regex is NOT changed.
If <parameter>encoding</parameter> is omitted, then
the current character encoding name is returned.
</para>
@@ -80,6 +82,7 @@
<member><function>mb_http_input</function></member>
<member><function>mb_http_output</function></member>
<member><function>mb_detect_order</function></member>
+ <member><function>mb_regex_encoding</function></member>
</simplelist>
</para>
</refsect1>
Modified: phpdoc/ja/trunk/reference/mbstring/functions/mb-internal-encoding.xml
===================================================================
--- phpdoc/ja/trunk/reference/mbstring/functions/mb-internal-encoding.xml 2013-02-22 14:51:30 UTC
(rev 329544)
+++ phpdoc/ja/trunk/reference/mbstring/functions/mb-internal-encoding.xml 2013-02-22 15:47:01 UTC
(rev 329545)
@@ -30,6 +30,7 @@
<parameter>encoding</parameter> は、HTTP
入力文字エンコーディング変換、
HTTP 出力文字エンコーディング変換および
mbstring
モジュールの文字列関数においてデフォルトの文字エンコーディングとして使用されます。
+
マルチバイト正規表現用のエンコーディングは、ここで扱う内部文字エンコーディングとは別であることに注意してください。
</para>
</listitem>
</varlistentry>
@@ -42,8 +43,9 @@
<para>
<parameter>encoding</parameter> が設定された場合、
&return.success;
+
このとき、マルチバイト正規表現用のエンコーディングは変更されません。
<parameter>encoding</parameter> が省略された場合、
- 現在の文字エンコーディング名を返します。
+ 現在の内部文字エンコーディング名を返します。
</para>
</refsect1>
@@ -81,6 +83,7 @@
<member><function>mb_http_input</function></member>
<member><function>mb_http_output</function></member>
<member><function>mb_detect_order</function></member>
+ <member><function>mb_regex_encoding</function></member>
</simplelist>
</para>
</refsect1>