mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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
This commit is contained in:
parent
2235393c83
commit
50f157563d
1 changed files with 3 additions and 4 deletions
|
@ -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 @@ Subject: =?ISO-8859-1?Q?Pr=FCfung_f=FCr?= Entwerfen von einer MIME kopfzeile
|
|||
<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 @@ $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";
|
||||
|
|
Loading…
Reference in a new issue