Convert a UTF-8 string to a modified UTF-7 format.
The IMAP rules [rfc2060] are used in the UTF-7 encoding.
ptr |
a UTF-8 string to convert |
The converted string. Free it with g_free, when no longer needed. |