2010-03-28 22:10:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2009-07-11 07:47:57 +00:00
|
|
|
<!-- $Revision$ -->
|
2007-06-20 22:25:43 +00:00
|
|
|
<refentry xml:id="function.imap-utf7-encode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
2007-01-14 15:37:21 +00:00
|
|
|
<refnamediv>
|
|
|
|
<refname>imap_utf7_encode</refname>
|
|
|
|
<refpurpose>Converts ISO-8859-1 string to modified UTF-7 text</refpurpose>
|
|
|
|
</refnamediv>
|
2007-01-15 00:05:59 +00:00
|
|
|
<refsect1 role="description">
|
|
|
|
&reftitle.description;
|
2007-01-14 15:37:21 +00:00
|
|
|
<methodsynopsis>
|
|
|
|
<type>string</type><methodname>imap_utf7_encode</methodname>
|
|
|
|
<methodparam><type>string</type><parameter>data</parameter></methodparam>
|
|
|
|
</methodsynopsis>
|
|
|
|
<para>
|
2007-01-15 00:05:59 +00:00
|
|
|
Converts <parameter>data</parameter> to modified UTF-7 text.
|
2007-01-14 15:37:21 +00:00
|
|
|
</para>
|
|
|
|
<para>
|
2007-01-15 00:05:59 +00:00
|
|
|
This is needed to encode mailbox names that contain certain characters
|
|
|
|
which are not in range of printable ASCII characters.
|
2007-01-14 15:37:21 +00:00
|
|
|
</para>
|
2007-01-15 00:05:59 +00:00
|
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters">
|
|
|
|
&reftitle.parameters;
|
2007-01-14 15:37:21 +00:00
|
|
|
<para>
|
2007-01-15 00:05:59 +00:00
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term><parameter>data</parameter></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
An ISO-8859-1 string.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
|
|
&reftitle.returnvalues;
|
|
|
|
<para>
|
|
|
|
Returns <parameter>data</parameter> encoded with the modified UTF-7
|
2007-06-20 22:25:43 +00:00
|
|
|
encoding as defined in <link xlink:href="&url.rfc;2060">RFC 2060</link>,
|
|
|
|
section 5.1.3 (original UTF-7 was defined in <link
|
|
|
|
xlink:href="&url.rfc;1642">RFC1642</link>).
|
2007-01-14 15:37:21 +00:00
|
|
|
</para>
|
2007-01-15 00:05:59 +00:00
|
|
|
</refsect1>
|
|
|
|
<refsect1 role="seealso">
|
|
|
|
&reftitle.seealso;
|
2007-01-14 15:37:21 +00:00
|
|
|
<para>
|
2007-01-15 00:05:59 +00:00
|
|
|
<simplelist>
|
|
|
|
<member><function>imap_utf7_decode</function></member>
|
|
|
|
</simplelist>
|
2007-01-14 15:37:21 +00:00
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
</refentry>
|
2002-04-15 00:12:54 +00:00
|
|
|
|
|
|
|
<!-- 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
|
2009-09-25 07:04:39 +00:00
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
2002-04-15 00:12:54 +00:00
|
|
|
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
|
|
|
|
-->
|