imap_qprint

(PHP 4, PHP 5, PHP 7, PHP 8)

imap_qprintConvert a quoted-printable string to an 8 bit string

Description

imap_qprint(string $string): string|false

Convert a quoted-printable string to an 8 bit string according to » RFC2045, section 6.7.

Parameters

string

A quoted-printable string

Return Values

Returns an 8 bits string, or false on failure.

See Also

  • imap_8bit() - Convert an 8bit string to a quoted-printable string

add a note

User Contributed Notes 1 note

up
4
bernard at bmpsystems dot com
25 years ago
This function seems to have a bug, when the quoted-printable string contains a "=" without the HEX code of a Character.
I use the regular quoted_printable_decode instead.
To Top

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant