<?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.3 $ --> <refentry id='function.idn_to_utf8'> <refnamediv> <refname>idn_to_utf8</refname> <refpurpose> Convert from ACE according to IDNA </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>string</type><methodname>idn_to_utf8</methodname> <methodparam><type>string</type><parameter>string</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>charset</parameter></methodparam> </methodsynopsis> <para> Returns a IDNA encoded (UTF-8) string. </para> <para> <function>idn_to_utf8</function> returns a IDN encoded string <example> <title>Relevant IDN Statements</title> <programlisting role="php"> <![CDATA[ <?php echo idn_to_utf8('xn--rksmrgs-5wao1o.josefsson.org, 'ISO-8859-1'); ?> ]]> </programlisting> </example> </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 -->