Home | History | Annotate | Download | only in email

Lines Matching full:encoded

20 `encoded-word' in a header.  This method is commonly used for 8-bit real names
75 """Return the length of str when it is encoded with header quopri."""
86 """Return the length of str when it is encoded with body quopri."""
134 to 76 characters). If maxlinelen is None, the entire string is encoded in
152 # Quopri encode each line, in encoded chunks no greater than maxlinelen in
172 # Now add the RFC chrome to each encoded chunk and glue the chunks
188 Each line of encoded text will end with eol, which defaults to "\\n". Set
223 # quopri encoded. BAW: again, string concatenation is inefficient.
272 def decode(encoded, eol=NL):
277 if not encoded:
278 return encoded
284 for line in encoded.splitlines():
314 if not encoded.endswith(eol) and decoded.endswith(eol):
334 """Decode a string encoded with RFC 2045 MIME header `Q' encoding.
336 This function does not parse a full MIME header value encoded with