<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- splitted from ./en/functions/imap.xml, last change in rev 1.9 -->
  <refentry id="function.imap-utf7-encode">
   <refnamediv>
    <refname>imap_utf7_encode</refname>
    <refpurpose>
     Converts 8bit data to modified UTF-7 text.
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>string</type><methodname>imap_utf7_encode</methodname>
      <methodparam><type>string</type><parameter>data</parameter></methodparam>
     </methodsynopsis>
    <para>
     Converts 8bit <parameter>data</parameter> to modified UTF-7
     text. This is needed to encode mailbox names that contain
     international characters outside of the printable ASCII
     range. The modified UTF-7 encoding is defined in <ulink
     url="&url.rfc;rfc2060.html">RFC 2060</ulink>, section 5.1.3
     (original UTF-7 was defned in <ulink
     url="&url.rfc;rfc1642.html">RFC1642</ulink>).
    </para>
    <para>
     Returns the modified UTF-7 text.
    </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
-->