mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-18 13:57:03 +08:00
31 lines
1.5 KiB
HTML
31 lines
1.5 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>将用 UTF-8 方式编码的 ISO-8859-1 字符串转换成单字节的 ISO-8859-1 字符串。</title>
|
|
</head>
|
|
<body class="docs"><div id="layout">
|
|
<div id="layout-content"><div id="function.utf8-decode" class="refentry">
|
|
<div class="refnamediv">
|
|
<h1 class="refname">utf8_decode</h1>
|
|
<p class="verinfo">(PHP 4, PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">utf8_decode</span> — <span class="dc-title">
|
|
将用 UTF-8 方式编码的 ISO-8859-1 字符串转换成单字节的 ISO-8859-1 字符串。
|
|
</span></p>
|
|
|
|
</div>
|
|
<div class="refsect1 unknown-returnvaluet" id="refsect1-function.utf8-decode-unknown-returnvaluet">
|
|
<h3 class="title">描述</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>utf8_decode</strong></span>
|
|
( <span class="methodparam"><span class="type">string</span> <code class="parameter">$data</code></span>
|
|
) : <span class="type">string</span></div>
|
|
|
|
<p class="para rdfs-comment">
|
|
该函数将用 <em>UTF-8</em> 编码的数据解码为 <em>ISO-8859-1</em> 编码。
|
|
</p>
|
|
<p class="para">
|
|
请参阅 <span class="function"><a href="utf8_encode.html" class="function">utf8_encode()</a></span> 以查看关于 UTF-8 编码的解释。
|
|
</p>
|
|
</div>
|
|
|
|
</div></div></div></body></html> |