string encodeHeader (
string $name
, string $value
, string $charset
, string $encoding
)
Returns encoded header value as for RFC2047.
string $name - The header name
string $value - The header body
string $charset - Character set used in header body
string $encoding - Encoding ("base64" or "quoted-printable")
string - Returns encoded header body (without a name)
This function can not be called statically.