2002-04-15 00:12:54 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2004-08-20 09:37:01 +00:00
|
|
|
<!-- $Revision: 1.8 $ -->
|
2002-04-15 00:12:54 +00:00
|
|
|
<!-- 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>
|
2004-08-20 09:37:01 +00:00
|
|
|
Converts ISO-8859-1 string to modified UTF-7 text
|
2002-04-15 00:12:54 +00:00
|
|
|
</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>
|
2003-03-31 20:25:57 +00:00
|
|
|
Converts <parameter>data</parameter> to modified UTF-7
|
2004-03-08 09:18:45 +00:00
|
|
|
text. Note that <parameter>data</parameter> is expected to be
|
|
|
|
encoded in ISO-8859-1.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
This is needed to encode mailbox names that contain certain
|
2003-03-31 20:25:57 +00:00
|
|
|
characters which are not in range of printable ASCII characters.
|
2004-03-08 09:18:45 +00:00
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
The modified UTF-7 encoding is defined in <ulink
|
2003-05-07 21:31:31 +00:00
|
|
|
url="&url.rfc;2060">RFC 2060</ulink>, section 5.1.3
|
2003-12-17 14:32:39 +00:00
|
|
|
(original UTF-7 was defined in <ulink
|
2003-05-07 21:31:31 +00:00
|
|
|
url="&url.rfc;1642">RFC1642</ulink>).
|
2002-04-15 00:12:54 +00:00
|
|
|
</para>
|
|
|
|
<para>
|
2004-03-08 09:18:45 +00:00
|
|
|
See also: <function>imap_utf7_decode</function>.
|
2002-04-15 00:12:54 +00:00
|
|
|
</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
|
|
|
|
-->
|