svn: /phpdoc/en/trunk/reference/iconv/functions/ iconv-mime-encode.xml

From: Date: Sun, 24 Oct 2010 14:02:47 +0000
Subject: svn: /phpdoc/en/trunk/reference/iconv/functions/ iconv-mime-encode.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7318@lists.php.net to get a copy of this message
kalle Sun, 24 Oct 2010 14:02:47 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=304699 Log: Fixed bug #52006 (Misleading Documentation on iconv_mime_encode()) Bug: http://bugs.php.net/52006 (Open) Misleading Documentation on iconv_mime_encode() Changed paths: U phpdoc/en/trunk/reference/iconv/functions/iconv-mime-encode.xml Modified: phpdoc/en/trunk/reference/iconv/functions/iconv-mime-encode.xml =================================================================== --- phpdoc/en/trunk/reference/iconv/functions/iconv-mime-encode.xml 2010-10-24 13:52:22 UTC (rev 304698) +++ phpdoc/en/trunk/reference/iconv/functions/iconv-mime-encode.xml 2010-10-24 14:02:47 UTC (rev 304699) @@ -1,4 +1,4 @@ -<?xml version='1.0' encoding='UTF-8'?> +<?xml version='1.0' encoding='UTF-8'?> <!-- $Revision$ --> <refentry xml:id="function.iconv-mime-encode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -103,8 +103,7 @@ <entry><type>string</type></entry> <entry> Specifies the character set to use to compose the - <literal>MIME</literal> header. If not given, the same value as - <literal>input-charset</literal> will be used. + <literal>MIME</literal> header. </entry> <entry> <link linkend="iconv.configuration">iconv.internal_encoding</link> @@ -172,7 +171,7 @@ "line-break-chars" => "\n" ); $preferences["scheme"] = "Q"; -// This yields "Subject: =?UTF-8?Q?Pr=C3=BCfung_Pr=C3=BCfung?=" +// This yields "Subject: =?UTF-8?Q?Pr=C3=BCfung=20Pr=C3=BCfung?=" echo iconv_mime_encode("Subject", "Prüfung Prüfung", $preferences); $preferences["scheme"] = "B";

« previous php.doc.cvs (#7318) next »