Home | History | Annotate | Download | only in email

Lines Matching refs:encoded

33 # Match encoded-word strings in the form =?charset?q?Hello_World?=
40 (?P<encoded>.*?) # non-greedy up to the next ?= is the encoded string
67 decoded parts of the header. Charset is None for non-encoded parts of the
69 set specified in the encoded string.
96 encoded = parts[2]
99 dec = email.quoprimime.header_decode(encoded)
101 paderr = len(encoded) % 4 # Postel's law: add missing padding
103 encoded += '==='[:4 - paderr]
105 dec = email.base64mime.decode(encoded)
112 dec = encoded
211 # We must preserve spaces between encoded and non-encoded word
251 using RFC 2047 rules, the Unicode string will be encoded using the
295 encoded = charset.from_splittable(splittable, True)
296 elen = charset.encoded_header_len(encoded)
297 # If the line's encoded length first, just return it
299 return [(encoded, charset)]
321 # BAW: should we use encoded?
346 # Given a list of pairs (string, charset), return a MIME-encoded
386 75-character length limit on any given encoded header field, so
398 syntactic breaks'. This doesn't affect RFC 2047 encoded lines.
406 # encoded words.