svn: /phpdoc/ja/trunk/reference/mbstring/functions/ mb-detect-encoding.xml

From: Date: Sat, 12 Dec 2020 19:09:39 +0000
Subject: svn: /phpdoc/ja/trunk/reference/mbstring/functions/ mb-detect-encoding.xml
Groups: php.doc.ja 
Request: Send a blank email to doc-ja+get-5950@lists.php.net to get a copy of this message
mumumu Sat, 12 Dec 2020 19:09:39 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=352043 Log: fixed example comment to be consistent with methodsynopses. Changed paths: U phpdoc/ja/trunk/reference/mbstring/functions/mb-detect-encoding.xml Modified: phpdoc/ja/trunk/reference/mbstring/functions/mb-detect-encoding.xml =================================================================== --- phpdoc/ja/trunk/reference/mbstring/functions/mb-detect-encoding.xml 2020-12-12 19:06:45 UTC (rev 352042) +++ phpdoc/ja/trunk/reference/mbstring/functions/mb-detect-encoding.xml 2020-12-12 19:09:39 UTC (rev 352043) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 352028 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 352042 Maintainer: hirokawa Status: ready --> <!-- CREDITS: takagi,mumumu --> <refentry xml:id="function.mb-detect-encoding" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -82,10 +82,10 @@ /* "auto" は mbstring.language の設定を使って展開されます */ echo mb_detect_encoding($str, "auto"); -/* カンマ区切りのリストで encodings 文字エンコーディングを指定 */ +/* 文字エンコーディングをカンマ区切りのリストで指定することで、encodings 引数を指定 */ echo mb_detect_encoding($str, "JIS, eucjp-win, sjis-win"); -/* encodings を指定するために配列を使用 */ +/* encodings 引数を指定するために配列を使用 */ $ary[] = "ASCII"; $ary[] = "JIS"; $ary[] = "EUC-JP";

« previous php.doc.ja (#5950) next »