Home
last modified time | relevance | path

Searched refs:get_content_charset (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython3/Lib/test/test_email/
Dtest_asian_codecs.py66 ustr = msg.get_payload(decode=True).decode(msg.get_content_charset())
75 ustr = msg.get_payload(decode=True).decode(msg.get_content_charset())
Dtest_email.py5128 eq(msg.get_content_charset(), 'us-ascii')
5251 self.assertEqual(msg.get_content_charset(),
5275 self.assertEqual(msg.get_content_charset(), None)
5285 self.assertEqual(msg.get_content_charset(), None)
/external/python/cpython2/Lib/email/test/
Dtest_email_codecs.py60 ustr = unicode(msg.get_payload(), msg.get_content_charset())
Dtest_email_codecs_renamed.py60 ustr = unicode(msg.get_payload(), msg.get_content_charset())
Dtest_email.py558 self.assertEqual('us-ascii', msg.get_content_charset())
560 self.assertEqual('us-ascii', msg.get_content_charset())
3335 eq(msg.get_content_charset(), 'us-ascii')
3423 self.assertEqual(msg.get_content_charset(),
3446 self.assertEqual(msg.get_content_charset(), None)
3456 self.assertEqual(msg.get_content_charset(), None)
Dtest_email_renamed.py3073 eq(msg.get_content_charset(), 'us-ascii')
3161 self.assertEqual(msg.get_content_charset(),
3184 self.assertEqual(msg.get_content_charset(), None)
3194 self.assertEqual(msg.get_content_charset(), None)
/external/python/cpython3/Tools/i18n/
Dmsgfmt.py155 charset = p.parsestr(msgstr.decode(encoding)).get_content_charset()
/external/python/cpython2/Lib/email/
Dmessage.py747 def get_content_charset(self, failobj=None): member in Message
794 return [part.get_content_charset(failobj) for part in self.walk()]
/external/python/cpython3/Lib/email/
Dmessage.py881 def get_content_charset(self, failobj=None): member in Message
927 return [part.get_content_charset(failobj) for part in self.walk()]
/external/python/cpython3/Lib/test/
Dtest_httpservers.py550 enc = response.headers.get_content_charset()
/external/python/cpython2/Doc/library/
Demail.message.rst508 .. method:: get_content_charset([failobj])
/external/python/cpython3/Doc/library/
Demail.message.rst431 .. method:: get_content_charset(failobj=None)
Demail.compat32-message.rst619 .. method:: get_content_charset(failobj=None)
/external/python/cpython2/Misc/NEWS.d/
D2.6a1.rst2784 email.message.Message.{set_charset,get_content_charset}.