Searched refs:get_content_charset (Results 1 – 14 of 14) sorted by relevance
/external/python/cpython3/Lib/test/test_email/ |
D | test_asian_codecs.py | 66 ustr = msg.get_payload(decode=True).decode(msg.get_content_charset()) 75 ustr = msg.get_payload(decode=True).decode(msg.get_content_charset())
|
D | test_email.py | 5065 eq(msg.get_content_charset(), 'us-ascii') 5188 self.assertEqual(msg.get_content_charset(), 5212 self.assertEqual(msg.get_content_charset(), None) 5222 self.assertEqual(msg.get_content_charset(), None)
|
/external/python/cpython2/Lib/email/test/ |
D | test_email_codecs.py | 60 ustr = unicode(msg.get_payload(), msg.get_content_charset())
|
D | test_email_codecs_renamed.py | 60 ustr = unicode(msg.get_payload(), msg.get_content_charset())
|
D | test_email.py | 558 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)
|
D | test_email_renamed.py | 3073 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/ |
D | msgfmt.py | 148 charset = p.parsestr(msgstr.decode(encoding)).get_content_charset()
|
/external/python/cpython2/Lib/email/ |
D | message.py | 747 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/ |
D | message.py | 881 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/ |
D | test_httpservers.py | 548 enc = response.headers.get_content_charset()
|
/external/python/cpython2/Doc/library/ |
D | email.message.rst | 508 .. method:: get_content_charset([failobj])
|
/external/python/cpython3/Doc/library/ |
D | email.message.rst | 431 .. method:: get_content_charset(failobj=None)
|
D | email.compat32-message.rst | 618 .. method:: get_content_charset(failobj=None)
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.6a1.rst | 2784 email.message.Message.{set_charset,get_content_charset}.
|