cvs: phpdoc-zh /reference/xml/functions utf8-decode.xml utf8-encode.xml
| From: | Gregory Song | Date: | Fri, 02 Aug 2002 06:36:51 +0000 |
| Subject: | cvs: phpdoc-zh /reference/xml/functions utf8-decode.xml utf8-encode.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-252@lists.php.net to get a copy of this message | ||
gregory Fri Aug 2 02:36:51 2002 EDT
Added files:
/phpdoc-zh/reference/xml/functions utf8-decode.xml utf8-encode.xml
Log:
Translation Completed!
Index: phpdoc-zh/reference/xml/functions/utf8-decode.xml
+++ phpdoc-zh/reference/xml/functions/utf8-decode.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- $AUTHOR$ -->
<!-- EN-Revision: 1.3 Maintainer: Gregory Status: ready -->
<!-- splitted from ./en/functions/xml.xml, last change in rev 1.2 -->
<refentry id="function.utf8-decode">
<refnamediv>
<refname>utf8_decode</refname>
<refpurpose>
½«Óà UTF-8 ·½Ê½±àÂëµÄ ISO-8859-1 ×Ö·û´®×ª»»³Éµ¥×Ö½ÚµÄ ISO-8859-1
×Ö·û´®¡£
</refpurpose>
</refnamediv>
<refsect1>
<title>ÃèÊö</title>
<methodsynopsis>
<type>string</type><methodname>utf8_decode</methodname>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
</methodsynopsis>
<para>
¸Ãº¯Êý½«Óà <literal>UTF-8</literal> ±àÂëµÄÊý¾Ý½âÂëΪ
<literal>ISO-8859-1</literal> ±àÂë¡£
</para>
<para>
Çë²ÎÔÄ <function>utf8_encode</function> ÒԲ鿴¹ØÓÚ UTF-8
±àÂëµÄ½âÊÍ¡£
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
Index: phpdoc-zh/reference/xml/functions/utf8-encode.xml
+++ phpdoc-zh/reference/xml/functions/utf8-encode.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- $AUTHOR$ -->
<!-- EN-Revision: 1.4 Maintainer: Gregory Status: ready -->
<!-- splitted from ./en/functions/xml.xml, last change in rev 1.2 -->
<refentry id="function.utf8-encode">
<refnamediv>
<refname>utf8_encode</refname>
<refpurpose>½« ISO-8859-1 ±àÂëµÄ×Ö·û´®×ª»»Îª UTF-8
±àÂë</refpurpose>
</refnamediv>
<refsect1>
<title>ÃèÊö</title>
<methodsynopsis>
<type>string</type><methodname>utf8_encode</methodname>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
</methodsynopsis>
<para>
¸Ãº¯Êý½« <parameter>data</parameter> ×Ö·û´®×ª»»Îª
<literal>UTF-8</literal>
±àÂ룬²¢·µ»Ø±àÂëºóµÄ×Ö·û´®¡£<literal>UTF-8</literal>
ÊÇÒ»ÖÖÓÃÓÚ½«<glossterm>¿í×Ö·û</glossterm>ֵת»»Îª×Ö½ÚÁ÷µÄ
<acronym>Unicode</acronym> µÄ±ê×¼»úÖÆ¡£<literal>UTF-8</literal>
¶ÔÓÚ´¿ <abbrev>ASCII</abbrev>
×Ö·ûÀ´ËµÊÇ͸Ã÷µÄ£¬ÇÒÊÇ×Ôͬ²½µÄ£¨Ò²¾ÍÊÇ˵ÕâʹµÃ³ÌÐòÄܹ»µÃÖª×Ö·û´Ó×Ö½ÚÁ÷µÄºÎ´¦¿ªÊ¼£©£¬²¢¿É±»ÆÕͨ×Ö·û´®±È½Ïº¯ÊýÓÃÒԱȽϵȲÙ×÷¡£PHP
¿É½« <literal>UTF-8</literal>
±àÂëΪ¶à´ïËĸö×Ö½ÚµÄ×Ö·û£¬È磺
<table>
<title>UTF-8 ±àÂë</title>
<tgroup cols="3">
<thead>
<row>
<entry>×Ö½Ú£¨bytes£©</entry>
<entry>루bits£©</entry>
<entry>±í ʾ</entry>
</row>
</thead>
<tbody>
<row>
<entry>1</entry>
<entry>7</entry>
<entry>0bbbbbbb</entry>
</row>
<row>
<entry>2</entry>
<entry>11</entry>
<entry>110bbbbb 10bbbbbb</entry>
</row>
<row>
<entry>3</entry>
<entry>16</entry>
<entry>1110bbbb 10bbbbbb 10bbbbbb</entry>
</row>
<row>
<entry>4</entry>
<entry>21</entry>
<entry>11110bbb 10bbbbbb 10bbbbbb 10bbbbbb</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
<para>
ÿ¸ö <literal>UTF-8</literal>
±íʾһ¸öÄܱ»ÓÃÒÔ´¢´æ×Ö·ûÊý¾ÝµÄλ¡£
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->