2002-04-15 00:12:54 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2003-09-30 08:33:48 +00:00
|
|
|
<!-- $Revision: 1.5 $ -->
|
2002-04-15 00:12:54 +00:00
|
|
|
<!-- splitted from ./en/functions/xml.xml, last change in rev 1.2 -->
|
|
|
|
<refentry id="function.utf8-decode">
|
|
|
|
<refnamediv>
|
|
|
|
<refname>utf8_decode</refname>
|
|
|
|
<refpurpose>
|
|
|
|
Converts a string with ISO-8859-1 characters encoded with UTF-8
|
|
|
|
to single-byte ISO-8859-1.
|
|
|
|
</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
2002-04-19 11:11:21 +00:00
|
|
|
<methodsynopsis>
|
|
|
|
<type>string</type><methodname>utf8_decode</methodname>
|
|
|
|
<methodparam><type>string</type><parameter>data</parameter></methodparam>
|
|
|
|
</methodsynopsis>
|
2002-04-15 00:12:54 +00:00
|
|
|
<para>
|
|
|
|
This function decodes <parameter>data</parameter>, assumed to be
|
|
|
|
<literal>UTF-8</literal> encoded, to <literal>ISO-8859-1</literal>.
|
|
|
|
</para>
|
|
|
|
<para>
|
2003-02-19 22:11:54 +00:00
|
|
|
See also
|
2003-09-30 08:33:48 +00:00
|
|
|
<function>utf8_encode</function> for an explanation of UTF-8
|
2002-04-15 00:12:54 +00:00
|
|
|
encoding.
|
|
|
|
</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
|
|
|
|
-->
|