W3cubDocs

/PHP

mb_decode_mimeheader

(PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8)

mb_decode_mimeheaderDecode string in MIME header field

Description

mb_decode_mimeheader(string $string): string

Decodes encoded-word string string in MIME header.

Parameters

string

The string being decoded.

Return Values

The decoded string in internal character encoding.

Changelog

Version Description
8.3.0 Underscores are converted to spaces as specified by » RFC 2047.

See Also

© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.mb-decode-mimeheader.php