| Server IP : 85.214.143.32 / Your IP : 216.73.216.33 Web Server : nginx/1.24.0 System : Linux datensicherung.webdress.site 6.8.0-142-generic #142-Ubuntu SMP PREEMPT_DYNAMIC Wed Sep 2 14:24:27 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/include/dovecot/ |
Upload File : |
#ifndef IMAP_UTF7_H #define IMAP_UTF7_H /* Convert an UTF-8 string to IMAP-UTF-7. Returns 0 if ok, -1 if src isn't valid UTF-8. */ int imap_utf8_to_utf7(const char *src, string_t *dest); int t_imap_utf8_to_utf7(const char *src, const char **dest_r); /* Like imap_utf8_to_utf7(), but decode all <escape_char><hex> instances. Returns -1 if src isn't valid UTF-8. Note that invalid <escape_char> content isn't treated as an error - it's simply passed through. */ int imap_escaped_utf8_to_utf7(const char *src, char escape_char, string_t *dest); /* For manually parsing the <hex> after <escape_char>. Returns 0 on success, -1 if str doesn't point to valid <hex>. */ int imap_escaped_utf8_hex_to_char(const char *str, unsigned char *chr_r); /* Convert IMAP-UTF-7 string to UTF-8. Returns 0 if ok, -1 if src isn't valid IMAP-UTF-7. */ int imap_utf7_to_utf8(const char *src, string_t *dest); /* Like imap_utf7_to_utf8(), but write invalid input as <escape_chars[0]><hex>. All the characters in escape_chars[] are escaped in the same way. This allows converting the escaped output back to the original (broken) IMAP-UTF-7 input. */ void imap_utf7_to_utf8_escaped(const char *src, const char *escape_chars, string_t *dest); /* Returns TRUE if the string is valid IMAP-UTF-7 string. */ bool imap_utf7_is_valid(const char *src); #endif