From 50f157563de05cf7e9a568b8cf8b0f5897a3eed6 Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Sun, 24 Oct 2010 14:02:47 +0000 Subject: [PATCH] Fixed bug #52006 (Misleading Documentation on iconv_mime_encode()) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304699 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/iconv/functions/iconv-mime-encode.xml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/reference/iconv/functions/iconv-mime-encode.xml b/reference/iconv/functions/iconv-mime-encode.xml index bb7e2b9d20..41eb53969b 100644 --- a/reference/iconv/functions/iconv-mime-encode.xml +++ b/reference/iconv/functions/iconv-mime-encode.xml @@ -1,4 +1,4 @@ - + @@ -103,8 +103,7 @@ Subject: =?ISO-8859-1?Q?Pr=FCfung_f=FCr?= Entwerfen von einer MIME kopfzeile string Specifies the character set to use to compose the - MIME header. If not given, the same value as - input-charset will be used. + MIME header. iconv.internal_encoding @@ -172,7 +171,7 @@ $preferences = array( "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";