Hunny Software Library Reference

MUTF7 Class

Class that performs modified UTF-7 encoding and decoding.

For a list of all members of this type, see MUTF7 Members.

System.Object
   MUTF7

[Visual Basic]
Public Class MUTF7
[C#]
public class MUTF7

Remarks

IMAP4 uses Unicode as the character set for mailbox names. (Note: What IMAP4 calls a "mailbox" is often called a "mail folder" in other contexts.) Because of its ASCII legacy, however, the mailbox names are encoded with a modified UTF-7 encoding.

The UTF-7 encoding of Unicode is specified in RFC 2152. The IMAP4 specification introduces modifications to UTF-7, which are described in RFC 3501 . The modifications change the encoding of certain characters that are commonly used in mailbox names.

All methods or properties in Hunny.Mail that take a mailbox name argument take that name as a Unicode String and perform the modified UTF-7 encoding for you. Similarly, all methods or properties that return a mailbox name return that name as a Unicode String and perform the modified UTF-7 decoding for you. Therefore, you do not need to worry about UTF-7 encoding or decoding. However, in special situations, you may use the methods in the MUTF7 class to perform modified UTF-7 encoding and decoding.

Requirements

Namespace: Hunny.Mail

Assembly: Hunny.Mail (in Hunny.Mail.dll)

See Also

MUTF7 Members | Hunny.Mail Namespace | RFC 2152. UTF-7: A Mail-Safe Transformation Format of Unicode | Modified UTF-7 specification in RFC 3501