Lines Matching defs:encode
203 """A synonym for self.encode()."""
204 return self.encode()
232 return other == self.encode()
256 ustr.encode() call.
276 ustr.encode(outcodec, errors)
284 s = s.encode(outcodec, errors)
344 # MIME-encode a header with many different charsets and/or encodings.
378 def encode(self, splitchars=';, '):
379 """Encode a message header into an RFC-compliant format.
384 7-bit ASCII, care must be taken to properly convert and encode (with
390 character set used in email, and encode and line wrap it safely with