hirokawa                Sat Jun 30 23:38:21 2001 EDT

  Added files:                 
    /phpdoc/en/functions        iconv.xml 

  Modified files:              
    /phpdoc/en/chapters install.xml 
    /phpdoc/ja  Translators 
    /phpdoc/ja/functions        mbstring.xml strings.xml 
  Log:
  added iconv function and modified for corrupted character in japanese manual.
  
  
Index: phpdoc/en/chapters/install.xml
diff -u phpdoc/en/chapters/install.xml:1.65 phpdoc/en/chapters/install.xml:1.66
--- phpdoc/en/chapters/install.xml:1.65 Mon Jun 11 08:57:20 2001
+++ phpdoc/en/chapters/install.xml      Sat Jun 30 23:38:17 2001
@@ -2835,6 +2835,20 @@
       </listitem>
      </varlistentry>
 
+     <varlistentry id="install.configure.with-iconv">
+      <term>
+       <parameter>--with-iconv[=DIR]</parameter>
+      </term>
+      <listitem>
+       <para>
+        PHP 3: Option not available in PHP 3
+       </para>
+       <para>
+        PHP 4: Include iconv support.
+       </para>
+      </listitem>
+     </varlistentry>
+
      <varlistentry id="install.configure.with-pspell">
       <term>
        <parameter>--with-pspell[=DIR]</parameter>
Index: phpdoc/ja/Translators
diff -u phpdoc/ja/Translators:1.24 phpdoc/ja/Translators:1.25
--- phpdoc/ja/Translators:1.24  Thu Jun 28 23:23:08 2001
+++ phpdoc/ja/Translators       Sat Jun 30 23:38:18 2001
@@ -68,6 +68,7 @@
 functions/imap.xml                     Michihide Hotta
 functions/info.xml                     Michihide Hotta
 functions/ingres_ii.xml                        Rui Hirokawa
+functions/java.xml                     Rui Hirokawa
 functions/mail.xml                     Rui Hirokawa
 functions/math.xml                     Machino Satoshi
 functions/mbstring.xml                 Rui Hirokawa
@@ -91,6 +92,7 @@
 functions/pfpro.xml                    Rui Hirokawa
 functions/pgsql.xml                    Rui Hirokawa
 functions/posix.xml                    Rui Hirokawa
+functions/printer.xml                  Rui Hirokawa
 functions/pspell.xml                   Rui Hirokawa
 functions/recode.xml                   Rui Hirokawa
 functions/regex.xml                    Rui Hirokawa
Index: phpdoc/ja/functions/mbstring.xml
diff -u phpdoc/ja/functions/mbstring.xml:1.3 phpdoc/ja/functions/mbstring.xml:1.4
--- phpdoc/ja/functions/mbstring.xml:1.3        Thu Jun 28 23:21:32 2001
+++ phpdoc/ja/functions/mbstring.xml    Sat Jun 30 23:38:19 2001
@@ -273,7 +273,7 @@
       トリでは、&quot;<literal>auto</literal>&quot; および
       &quot;<literal>pass</literal>&quot; も指定可能です。
       <literal>mbstring</literal> 関数には、エンコーディング名と
-      quot;<literal>auto</literal>&quot; を指定可能です。
+      &quot;<literal>auto</literal>&quot; を指定可能です。
      </para>
      <para>
       &quot;<literal>pass</literal>&quot; 
が指定された場合、文字エンコー
Index: phpdoc/ja/functions/strings.xml
diff -u phpdoc/ja/functions/strings.xml:1.37 phpdoc/ja/functions/strings.xml:1.38
--- phpdoc/ja/functions/strings.xml:1.37        Thu Jun 28 23:21:32 2001
+++ phpdoc/ja/functions/strings.xml     Sat Jun 30 23:38:19 2001
@@ -897,38 +897,6 @@
    </refsect1>
   </refentry>
 
-  <refentry id="function.iconv">
-   <refnamediv>
-    <refname>iconv</refname>
-    <refpurpose>文字列のコードを変換する</refpurpose>
-   </refnamediv>
-   <refsect1>
-    <title>説明</title>
-    <funcsynopsis>
-     <funcprototype>
-      <funcdef>string <function>iconv</function></funcdef>
-      <paramdef>string <parameter>in</parameter></paramdef>
-      <paramdef>string <parameter>out</parameter></paramdef>
-      <paramdef>string <parameter>str</parameter></paramdef>
-     </funcprototype>
-    </funcsynopsis>
-    <para>
-     <function>iconv</function> は、<parameter>in</parameter> でエンコー
-     ドされた文字列 <parameter>str</parameter> をエンコード
-     <parameter>out</parameter> に変換し、結果の文字列を返します。
-     <example>
-      <title><function>iconv</function>の例</title>
-      <programlisting role="php">
-print iconv ("UTF-8", "EUC-JP" $str);
-      </programlisting>
-     </example>
-    </para>
-    <simpara>
-     <function>iconv</function> は、PHP 4.0.5 で導入されました。
-    </simpara>
-   </refsect1>
-  </refentry>
-
   <refentry id="function.implode">
    <refnamediv>
     <refname>implode</refname>

Index: phpdoc/en/functions/iconv.xml
+++ phpdoc/en/functions/iconv.xml
 <reference id="ref.iconv">
  <title>iconv functions</title>
  <titleabbrev>iconv</titleabbrev>

  <partintro>
   <para>
    This module contains an interface to the iconv library functions. To 
    be able to use the functions defined in this
    module you must compile you PHP interpreter using the --with-iconv
    option. In order to do so, you must have iconv() function in 
    standard C library or libiconv installed on your system.
    libiconv library is available from <ulink url="&url.libiconv;">
     &url.libiconv;</ulink>.
   </para>

   <para>
    iconv library function converts files between various encoded 
    character sets. The supported character sets depend on iconv() 
    implementation on your system. Note that iconv() function in some
    system is not work well as you expect. In this case, you should
    install libiconv library.
   </para>
  </partintro>

  <refentry id="function.iconv">
   <refnamediv>
    <refname>iconv</refname>
    <refpurpose>Convert string to requested character encoding</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
    <funcsynopsis>
     <funcprototype>
      <funcdef>string <function>iconv</function></funcdef>
      <paramdef>string <parameter>in_charset</parameter></paramdef>
      <paramdef>string <parameter>out_charset</parameter></paramdef>
      <paramdef>string <parameter>str</parameter></paramdef>
     </funcprototype>
    </funcsynopsis>
    <para>
     It converts the string <parameter>string</parameter> encoded in
     <parameter>in_charset</parameter> to the string encoded in
     <parameter>out_charset</parameter>. It returns the converted
     string or FALSE, if it fails.
    </para>
    <para>
     <example>
      <title><function>iconv</function> example:</title>
      <programlisting role="php">
echo iconv("ISO-8859-1","UTF8","This is test.");
      </programlisting>
     </example>
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.iconv-get-encoding">
   <refnamediv>
    <refname>iconv_get_encoding</refname>
    <refpurpose>
     Get current setting for character encoding conversion
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
    <funcsynopsis>
     <funcprototype>
      <funcdef>array <function>iconv_get_encoding</function></funcdef>
      <paramdef>string 
       <parameter><optional>type</optional></parameter>
      </paramdef>
     </funcprototype>
    </funcsynopsis>
    <para>
     It returns the current settings of 
     <function>ob_iconv_handler</function> as array or FALSE in failure.
    </para>
    <para>
     See also: 
     <function>iconv_set_encoding</function>,
     <function>ob_iconv_handler</function>.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.iconv-set-encoding">
   <refnamediv>
    <refname>iconv_set_encoding</refname>
    <refpurpose>
     Set current setting for character encoding conversion
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
    <funcsynopsis>
     <funcprototype>
      <funcdef>array <function>iconv_set_encoding</function></funcdef>
      <paramdef>string <parameter>type</parameter></paramdef>
      <paramdef>string <parameter>charset</parameter></paramdef>
     </funcprototype>
    </funcsynopsis>
    <para>
     It changes the value of <parameter>type</parameter> to
     <parameter>charset</parameter> and returns TRUE in success or 
     FALSE in failure.
    </para>
    <para>
     <example>
      <title><function>iconv_set_encoding</function> example:</title>
      <programlisting role="php">
iconv_set_encoding("internal_encoding", "UTF-8");
iconv_set_encoding("output_encoding", "ISO-8859-1");
      </programlisting>
     </example>
    </para>
    <para>
     See also: 
     <function>iconv_get_encoding</function>,
     <function>ob_iconv_handler</function>.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ob-iconv-handler">
   <refnamediv>
    <refname>ob_iconv_handler</refname>
    <refpurpose>
     Convert character encoding as output buffer handler
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
    <funcsynopsis>
     <funcprototype>
      <funcdef>array <function>ob_iconv_handler</function></funcdef>
      <paramdef>string 
       <parameter>contents</parameter>
      </paramdef>
      <paramdef>int 
       <parameter>status</parameter>
      </paramdef>
     </funcprototype>
    </funcsynopsis>
    <para>
     It converts the string encoded in 
     <parameter>internal_encoding</parameter> to
     <parameter>output_encoding</parameter>.
    </para>
    <para>
     <parameter>internal_encoding</parameter> and
     <parameter>output_encoding</parameter> should be defined
     by <function>iconv_set_encoding</function> or in 
     configuration file.
    </para>
    <para>
     <example>
      <title><function>ob_iconv_handler</function> example:</title>
      <programlisting role="php">
ob_start("ob_iconv_handler"); // start output buffering
      </programlisting>
     </example>
    </para>
    <para>
     See also: 
     <function>iconv_get_encoding</function>,
     <function>iconv_set_encoding</function>.
    </para>
   </refsect1>
  </refentry>

 </reference>

<!-- 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
sgml-parent-document:nil
sgml-default-dtd-file:"../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->

Reply via email to