cvs: phpdoc /en/reference/iconv/functions iconv-mime-decode-headers.xml iconv-mime-decode.xml iconv-mime-encode.xml

From: Date: Tue, 23 Dec 2003 09:56:57 +0000
Subject: cvs: phpdoc /en/reference/iconv/functions iconv-mime-decode-headers.xml iconv-mime-decode.xml iconv-mime-encode.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969357674@lists.php.net to get a copy of this message
moriyoshi Tue Dec 23 04:56:57 2003 EDT Modified files: /phpdoc/en/reference/iconv/functions iconv-mime-decode-headers.xml iconv-mime-decode.xml iconv-mime-encode.xml Log: - Remove <para> around <example>. - Replace all <para> within <example> to <simpara> Index: phpdoc/en/reference/iconv/functions/iconv-mime-decode-headers.xml diff -u phpdoc/en/reference/iconv/functions/iconv-mime-decode-headers.xml:1.3 phpdoc/en/reference/iconv/functions/iconv-mime-decode-headers.xml:1.4 --- phpdoc/en/reference/iconv/functions/iconv-mime-decode-headers.xml:1.3 Mon Dec 22 17:23:09 2003 +++ phpdoc/en/reference/iconv/functions/iconv-mime-decode-headers.xml Tue Dec 23 04:56:57 2003 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="function.iconv-mime-decode-headers"> <refnamediv> <refname>iconv_mime_decode_headers</refname> @@ -79,19 +79,17 @@ will be used. </para> - <para> - <example> - <title><function>iconv_mime_decode_function</function> example</title> - <programlisting role="php"> -<![CDATA[ -<?php -$headers_string = <<<EOF + <example> + <title><function>iconv_mime_decode_function</function> example</title> + <programlisting role="php"> +&lt;?php +$headers_string = &lt;&lt;&lt;EOF Subject: =?UTF-8?B?UHLDvGZ1bmcgUHLDvGZ1bmc=?= To: example@example.com Date: Thu, 1 Jan 1970 00:00:00 +0000 -Message-Id: <example@example.com> +Message-Id: &lt;example@example.com&gt; Received: from localhost (localhost [127.0.0.1]) by localhost - with SMTP id example for <example@example.com>; + with SMTP id example for &lt;example@example.com&gt; Thu, 1 Jan 1970 00:00:00 +0000 (UTC) (envelope-from example-return-0000-example=example.com@example.com) Received: (qmail 0 invoked by uid 65534); 1 Thu 2003 00:00:00 +0000 @@ -100,31 +98,27 @@ $headers = iconv_mime_decode_headers($headers_string, 0, "ISO-8859-1"); print_r($headers); -?> -]]> +?&gt; </programlisting> - <para> + <simpara> The output of this script should look like: - </para> + </simpara> <screen> -<![CDATA[ Array ( - [Subject] => Pr&uuml;fung Pr&uuml;fung - [To] => example@example.com - [Date] => Thu, 1 Jan 1970 00:00:00 +0000 - [Message-Id] => <example@example.com> - [Received] => Array + [Subject] =&gt; Pr&uuml;fung Pr&uuml;fung + [To] =&gt; example@example.com + [Date] =&gt; Thu, 1 Jan 1970 00:00:00 +0000 + [Message-Id] =&gt; &lt;example@example.com&gt; + [Received] =&gt; Array ( - [0] => from localhost (localhost [127.0.0.1]) by localhost with SMTP id example for <example@example.com>; Thu, 1 Jan 1970 00:00:00 +0000 (UTC) (envelope-from example-return-0000-example=example.com@example.com) - [1] => (qmail 0 invoked by uid 65534); 1 Thu 2003 00:00:00 +0000 + [0] =&gt; from localhost (localhost [127.0.0.1]) by localhost with SMTP id example for &lt;example@example.com&gt;; Thu, 1 Jan 1970 00:00:00 +0000 (UTC) (envelope-from example-return-0000-example=example.com@example.com) + [1] =&gt; (qmail 0 invoked by uid 65534); 1 Thu 2003 00:00:00 +0000 ) ) -]]> - </screen> - </example> - </para> + </screen> + </example> <para> See also <function>iconv_mime_decode</function>, Index: phpdoc/en/reference/iconv/functions/iconv-mime-decode.xml diff -u phpdoc/en/reference/iconv/functions/iconv-mime-decode.xml:1.3 phpdoc/en/reference/iconv/functions/iconv-mime-decode.xml:1.4 --- phpdoc/en/reference/iconv/functions/iconv-mime-decode.xml:1.3 Mon Dec 22 15:19:34 2003 +++ phpdoc/en/reference/iconv/functions/iconv-mime-decode.xml Tue Dec 23 04:56:57 2003 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. --> <refentry id="function.iconv-mime-decode"> <refnamediv> @@ -69,21 +69,16 @@ will be used. </para> - <para> - <example> - <title><function>iconv_mime_decode</function> example</title> - <programlisting role="php"> -<![CDATA[ -<?php + <example> + <title><function>iconv_mime_decode</function> example</title> + <programlisting role="php"> +&gt;?php // This yields "Subject: Pr&uuml;fung Pr&uuml;fung" echo iconv_mime_decode("Subject: =?UTF-8?B?UHLDvGZ1bmcgUHLDvGZ1bmc=?=", 0, "ISO-8859-1"); -?> -]]> - </programlisting> - </example> - </para> - +?&lt; + </programlisting> + </example> <para> See also <function>iconv_mime_decode_headers</function>, <function>imap_base64_decode</function>, Index: phpdoc/en/reference/iconv/functions/iconv-mime-encode.xml diff -u phpdoc/en/reference/iconv/functions/iconv-mime-encode.xml:1.3 phpdoc/en/reference/iconv/functions/iconv-mime-encode.xml:1.4 --- phpdoc/en/reference/iconv/functions/iconv-mime-encode.xml:1.3 Mon Dec 22 15:19:34 2003 +++ phpdoc/en/reference/iconv/functions/iconv-mime-encode.xml Tue Dec 23 04:56:57 2003 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. --> <refentry id="function.iconv-mime-encode"> <refnamediv> @@ -121,12 +121,10 @@ </table> </para> - <para> - <example> + <example> <title><function>iconv_mime_encode</function> example:</title> <programlisting role="php"> -<![CDATA[ -<?php +&gt;?php $preferences = array( "input-charset" => "ISO-8859-1", "output-charset" => "UTF-8", @@ -140,11 +138,9 @@ $preferences["scheme"] = "B"; // This yields "Subject: =?UTF-8?B?UHLDvGZ1bmcgUHLDvGZ1bmc=?=" echo iconv_mime_encode("Subject", "Pr&uuml;fung Pr&uuml;fung", $preferences); -?> -]]> - </programlisting> - </example> - </para> +?&lt; + </programlisting> + </example> <para> See also <function>imap_base64_encode</function>,

« previous php.doc (#969357674) next »