Home
last modified time | relevance | path

Searched refs:body_encode (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Lib/email/
Dcharset.py378 def body_encode(self, s, convert=True): member in Charset
393 return email.base64mime.body_encode(s)
395 return email.quoprimime.body_encode(s)
Dbase64mime.py155 body_encode = encode variable
Dquoprimime.py261 body_encode = encode variable
Dmessage.py264 self._payload = charset.body_encode(self._payload)
270 self._payload = charset.body_encode(self._payload)
/external/python/cpython2/Lib/email/test/
Dtest_email_renamed.py2797 eq('hello w=F6rld', c.body_encode('hello w\xf6rld'))
2800 eq('aGVsbG8gd29ybGQ=\n', c.body_encode('hello world'))
2803 eq('hello world', c.body_encode('hello world'))
2809 c.body_encode('\xb5\xc6\xc3\xcf\xbb\xfe\xc9\xd7'))
2811 c.body_encode('\xb5\xc6\xc3\xcf\xbb\xfe\xc9\xd7', False))
2821 eq('hello w\xf6rld', c.body_encode('hello w\xf6rld'))
Dtest_email.py3035 eq('hello w=F6rld', c.body_encode('hello w\xf6rld'))
3038 eq('aGVsbG8gd29ybGQ=\n', c.body_encode('hello world'))
3041 eq('hello world', c.body_encode('hello world'))
3047 c.body_encode('\xb5\xc6\xc3\xcf\xbb\xfe\xc9\xd7'))
3049 c.body_encode('\xb5\xc6\xc3\xcf\xbb\xfe\xc9\xd7', False))
3059 eq('hello w\xf6rld', c.body_encode('hello w\xf6rld'))
/external/python/cpython2/Doc/library/
Demail.charset.rst173 .. method:: body_encode(s[, convert])