Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<imap_msgnoimap_num_msg>
^IMAP FunctionsLast updated: Mon, 26 Oct 2026

imap_mutf7_to_utf8

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

imap_mutf7_to_utf8 — Decode a modified UTF-7 string to UTF-8

Description

function imap_mutf7_to_utf8(string $string): string|false

Decode a modified UTF-7 (as specified in RFC 2060, section 5.1.3) string to UTF-8.

Note:

This function is only available, if libcclient exports utf8_to_mutf7().

Parameters

string

A string encoded in modified UTF-7.

Return Values

Returns string converted to UTF-8, or false on failure.

See Also


<imap_msgnoimap_num_msg>
^IMAP FunctionsLast updated: Mon, 26 Oct 2026