svn: /phpdoc/ja/trunk/reference/misc/functions/ sapi-windows-cp-get.xml
| From: | Yoshinari Takaoka | Date: | Sat, 28 Nov 2020 04:41:24 +0000 |
| Subject: | svn: /phpdoc/ja/trunk/reference/misc/functions/ sapi-windows-cp-get.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-5854@lists.php.net to get a copy of this message | ||
mumumu Sat, 28 Nov 2020 04:41:24 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=351718
Log:
Argument of sapi_windows_cp_get is optional / Improve return value description based on Tyson's
suggestion
Changed paths:
U phpdoc/ja/trunk/reference/misc/functions/sapi-windows-cp-get.xml
Modified: phpdoc/ja/trunk/reference/misc/functions/sapi-windows-cp-get.xml
===================================================================
--- phpdoc/ja/trunk/reference/misc/functions/sapi-windows-cp-get.xml 2020-11-28 04:36:46 UTC (rev
351717)
+++ phpdoc/ja/trunk/reference/misc/functions/sapi-windows-cp-get.xml 2020-11-28 04:41:24 UTC (rev
351718)
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 344354 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: 351712 Maintainer: mumumu Status: ready -->
<refentry xml:id="function.sapi-windows-cp-get" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>sapi_windows_cp_get</refname>
- <refpurpose>現在のプロセスのコードページを取得する</refpurpose>
+ <refpurpose>現在のコードページを取得する</refpurpose>
</refnamediv>
<refsect1 role="description"><!-- {{{ -->
@@ -12,10 +12,10 @@
&reftitle.description;
<methodsynopsis role="procedural">
<type>int</type><methodname>sapi_windows_cp_get</methodname>
-
<methodparam><type>string</type><parameter>kind</parameter></methodparam>
+ <methodparam
choice="opt"><type>string</type><parameter>kind</parameter><initializer>""</initializer></methodparam>
</methodsynopsis>
<para>
- 現在のプロセスのコードページの識別子を取得します。
+ 現在のコードページを取得します。
</para>
</refsect1><!-- }}} -->
@@ -26,7 +26,8 @@
<term><parameter>kind</parameter></term>
<listitem>
<para>
- コードページの種類: <literal>'ansi'</literal> または
<literal>'oem'</literal>
+ 取得するオペレーティングシステムのコードページ:
<literal>'ansi'</literal> または
<literal>'oem'</literal>
+ それ以外の値は、現在のプロセスのコードページを参照します。
</para>
</listitem>
</varlistentry>
@@ -37,6 +38,11 @@
&reftitle.returnvalues;
<para>
コードページの識別子を返します。
+ <parameter>kind</parameter> が <literal>'ansi'</literal>
の場合、
+ オペレーティングシステムの、現在の <acronym>ANSI</acronym>
コードページを返します。
+ <parameter>kind</parameter> が <literal>'oem'</literal>
の場合、
+ オペレーティングシステムの、現在の <acronym>OEM</acronym>
コードページを返します。
+ それ以外の場合、現在のプロセスのコードページを返します。
</para>
</refsect1><!-- }}} -->