Base64MimeHeaderEncoder
class Base64MimeHeaderEncoder extendsBase64Encoder implementsMimeHeaderEncoderInterface
Methods
string
encodeString(string$string,string|null$charset ='utf-8',int$firstLineOffset =0,int$maxLineLength =0)
Takes an unencoded string and produces a Base64 encoded string from it.
string
getName()
Get the MIME name of this content encoding scheme.
Details
string
encodeString(string$string,string|null$charset ='utf-8',int$firstLineOffset =0,int$maxLineLength =0)
Takes an unencoded string and produces a Base64 encoded string from it.
If the charset is iso-2022-jp, it uses mb_encode_mimeheader instead of default encodeString, otherwise pass to the parent method.