class Mail::Encodings::QuotedPrintable
- Mail::Encodings::QuotedPrintable
- Mail::Encodings::SevenBit
- Mail::Encodings::EightBit
- Mail::Encodings::Binary
- Mail::Encodings::Identity
- Mail::Encodings::TransferEncoding
- Reference
- Object
Defined in:
mail/encodings/quoted_printable.crConstant Summary
-
NAME =
"quoted-printable"
-
PRIORITY =
2
Class Method Summary
- .can_encode?(enc)
-
.compatible_input?(str)
QP inserts newlines automatically and cannot violate the SMTP spec.
-
.decode(str)
Decode the string from Quoted-Printable.
- .encode(str)
Class methods inherited from class Mail::Encodings::SevenBit
compatible_input?(str)
compatible_input?,
decode(str)
decode,
encode(str)
encode
Class methods inherited from class Mail::Encodings::EightBit
compatible_input?(str)
compatible_input?
Class methods inherited from class Mail::Encodings::Identity
cost(str)
cost,
decode(str)
decode,
encode(str)
encode
Class methods inherited from class Mail::Encodings::TransferEncoding
can_encode?(enc)
can_encode?,
can_transport?(enc)
can_transport?,
compatible_input?(str)
compatible_input?,
cost(str)
cost,
lowest_cost(str, encodings)
lowest_cost,
negotiate(message_encoding, source_encoding, str, allowed_encodings = nil)
negotiate,
renegotiate(message_encoding, source_encoding, str, allowed_encodings = nil)
renegotiate,
to_s
to_s
Class Method Detail
def self.compatible_input?(str)
#
QP inserts newlines automatically and cannot violate the SMTP spec.
def self.decode(str)
#
Decode the string from Quoted-Printable. Cope with hard line breaks that were incorrectly encoded as hex instead of literal CRLF.