mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-18 22:06:57 +08:00
73 lines
2.7 KiB
HTML
73 lines
2.7 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
|
<title>将 8-bit 字符串转换成 quoted-printable 字符串</title>
|
|
</head>
|
|
<body class="docs"><div id="layout">
|
|
<div id="layout-content"><div id="function.quoted-printable-encode" class="refentry">
|
|
<div class="refnamediv">
|
|
<h1 class="refname">quoted_printable_encode</h1>
|
|
<p class="verinfo">(PHP 5 >= 5.3.0, PHP 7)</p><p class="refpurpose"><span class="refname">quoted_printable_encode</span> — <span class="dc-title">将 8-bit 字符串转换成 quoted-printable 字符串</span></p>
|
|
|
|
</div>
|
|
|
|
<div class="refsect1 description" id="refsect1-function.quoted-printable-encode-description">
|
|
<h3 class="title">说明</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>quoted_printable_encode</strong></span>
|
|
( <span class="methodparam"><span class="type">string</span> <code class="parameter">$str</code></span>
|
|
) : <span class="type">string</span></div>
|
|
|
|
<p class="para rdfs-comment">
|
|
返回 quoted-printable 格式的字符,该格式由 <a href="http://www.faqs.org/rfcs/rfc2045" class="link external">» RFC2045</a> 6.7.章节里制定。
|
|
</p>
|
|
<p class="para">
|
|
该函数与 <span class="function"><a href="imap_8bit.html" class="function">imap_8bit()</a></span> 函数十分相似,不同的是该函数不需要 IMAP 模块就能运行。
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 parameters" id="refsect1-function.quoted-printable-encode-parameters">
|
|
<h3 class="title">参数</h3>
|
|
<p class="para">
|
|
<dl>
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">str</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
输入的字符串。
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 returnvalues" id="refsect1-function.quoted-printable-encode-returnvalues">
|
|
<h3 class="title">返回值</h3>
|
|
<p class="para">
|
|
返回编码之后的字符串。
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 seealso" id="refsect1-function.quoted-printable-encode-seealso">
|
|
<h3 class="title">参见</h3>
|
|
<p class="para">
|
|
<ul class="simplelist">
|
|
<li class="member"><span class="function"><a href="quoted_printable_decode.html" class="function" rel="rdfs-seeAlso">quoted_printable_decode()</a> - 将 quoted-printable 字符串转换为 8-bit 字符串</span></li>
|
|
<li class="member"><span class="function"><a href="iconv_mime_encode.html" class="function" rel="rdfs-seeAlso">iconv_mime_encode()</a> - Composes a MIME header field</span></li>
|
|
</ul>
|
|
</p>
|
|
</div>
|
|
|
|
|
|
</div></div></div></body></html> |