class Mail::Encodings::SevenBit
- Mail::Encodings::SevenBit
- Mail::Encodings::EightBit
- Mail::Encodings::Binary
- Mail::Encodings::Identity
- Mail::Encodings::TransferEncoding
- Reference
- Object
Overview
7bit and 8bit are equivalent. 7bit encoding is for text only.
Direct Known Subclasses
Defined in:
mail/encodings/7bit.crConstant Summary
-
NAME =
"7bit"
-
PRIORITY =
1
Class Method Summary
-
.compatible_input?(str)
Per RFC 2045 2.7.
- .decode(str)
- .encode(str)
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)
#
Per RFC 2045 2.7. 7bit Data, No octets with decimal values greater than 127 are allowed.