didou           Wed Jul 16 13:13:01 2003 EDT

  Modified files:              
    /phpdoc/en/reference/iconv/functions        iconv-get-encoding.xml 
                                                iconv-set-encoding.xml 
                                                iconv.xml ob-iconv-handler.xml 
  Log:
  adding PHP tags in the examples
  
Index: phpdoc/en/reference/iconv/functions/iconv-get-encoding.xml
diff -u phpdoc/en/reference/iconv/functions/iconv-get-encoding.xml:1.5 
phpdoc/en/reference/iconv/functions/iconv-get-encoding.xml:1.6
--- phpdoc/en/reference/iconv/functions/iconv-get-encoding.xml:1.5      Wed Sep 11 
19:17:18 2002
+++ phpdoc/en/reference/iconv/functions/iconv-get-encoding.xml  Wed Jul 16 13:13:00 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 <!-- splitted from ./en/functions/iconv.xml, last change in rev 1.1 -->
   <refentry id="function.iconv-get-encoding">
    <refnamediv>
@@ -28,7 +28,7 @@
     </para>
     <para>
      <example>
-      <title><function>iconv_get_encoding</function> example:</title>
+      <title><function>iconv_get_encoding</function> example</title>
       <programlisting role="php">
 <![CDATA[
 <pre>
@@ -42,23 +42,22 @@
       </programlisting>
       <para>
        The printout of the above program will be:
-       <screen>
+      </para>
+      <screen>
 <![CDATA[
-Array
-(
-    [input_encoding] => ISO-8859-1
-    [output_encoding] => ISO-8859-1
-    [internal_encoding] => UTF-8
-)
+Array
+(
+    [input_encoding] => ISO-8859-1
+    [output_encoding] => ISO-8859-1
+    [internal_encoding] => UTF-8
+)
 
 ]]>
-       </screen>
-      </para>
+      </screen>
      </example>
     </para>
     <para>
-     See also: 
-     <function>iconv_set_encoding</function> and
+     See also <function>iconv_set_encoding</function> and
      <function>ob_iconv_handler</function>.
     </para>
    </refsect1>
Index: phpdoc/en/reference/iconv/functions/iconv-set-encoding.xml
diff -u phpdoc/en/reference/iconv/functions/iconv-set-encoding.xml:1.5 
phpdoc/en/reference/iconv/functions/iconv-set-encoding.xml:1.6
--- phpdoc/en/reference/iconv/functions/iconv-set-encoding.xml:1.5      Wed Sep 11 
19:17:19 2002
+++ phpdoc/en/reference/iconv/functions/iconv-set-encoding.xml  Wed Jul 16 13:13:01 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 <!-- splitted from ./en/functions/iconv.xml, last change in rev 1.1 -->
   <refentry id="function.iconv-set-encoding">
    <refnamediv>
@@ -30,15 +30,16 @@
       <title><function>iconv_set_encoding</function> example:</title>
       <programlisting role="php">
 <![CDATA[
+<?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> and
+     See also <function>iconv_get_encoding</function> and
      <function>ob_iconv_handler</function>.
     </para>
    </refsect1>
Index: phpdoc/en/reference/iconv/functions/iconv.xml
diff -u phpdoc/en/reference/iconv/functions/iconv.xml:1.5 
phpdoc/en/reference/iconv/functions/iconv.xml:1.6
--- phpdoc/en/reference/iconv/functions/iconv.xml:1.5   Wed Sep 11 19:17:19 2002
+++ phpdoc/en/reference/iconv/functions/iconv.xml       Wed Jul 16 13:13:01 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 <!-- splitted from ./en/functions/iconv.xml, last change in rev 1.1 -->
   <refentry id="function.iconv">
    <refnamediv>
@@ -25,7 +25,9 @@
       <title><function>iconv</function> example:</title>
       <programlisting role="php">
 <![CDATA[
+<?php
 echo iconv("ISO-8859-1","UTF-8","This is a test.");
+?>
 ]]>
       </programlisting>
      </example>
Index: phpdoc/en/reference/iconv/functions/ob-iconv-handler.xml
diff -u phpdoc/en/reference/iconv/functions/ob-iconv-handler.xml:1.3 
phpdoc/en/reference/iconv/functions/ob-iconv-handler.xml:1.4
--- phpdoc/en/reference/iconv/functions/ob-iconv-handler.xml:1.3        Wed Sep 11 
16:59:55 2002
+++ phpdoc/en/reference/iconv/functions/ob-iconv-handler.xml    Wed Jul 16 13:13:01 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/iconv.xml, last change in rev 1.1 -->
   <refentry id="function.ob-iconv-handler">
    <refnamediv>
@@ -29,15 +29,16 @@
       <title><function>ob_iconv_handler</function> example:</title>
       <programlisting role="php">
 <![CDATA[
+<?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>, and
+     See also <function>iconv_get_encoding</function>,
+     <function>iconv_set_encoding</function> and
      <link linkend="ref.outcontrol">output-control functions</link>.
     </para>
    </refsect1>



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to