Searched refs:output_charset (Results 1 – 12 of 12) sorted by relevance
/third_party/python/Lib/email/ |
D | charset.py | 109 def add_charset(charset, header_enc=None, body_enc=None, output_charset=None): argument 134 CHARSETS[charset] = (header_enc, body_enc, output_charset) 236 self.output_charset = ALIASES.get(conv, conv) 241 self.output_codec = CODEC_MAP.get(self.output_charset, 242 self.output_charset) 277 return self.output_charset or self.input_charset 388 string = string.encode(self.output_charset) 398 string = string.encode(self.output_charset) 403 string = string.encode(self.output_charset).decode('ascii')
|
D | header.py | 298 output_charset = charset.output_codec or 'us-ascii' 299 if output_charset != _charset.UNKNOWN8BIT: 301 s.encode(output_charset, errors) 303 if output_charset!='us-ascii':
|
D | message.py | 315 payload = payload.encode(charset.output_charset) 366 payload = payload.encode(charset.output_charset)
|
/third_party/python/Doc/library/ |
D | email.charset.rst | 74 .. attribute:: output_charset 92 *output_charset*. If no conversion codec is necessary, this attribute 117 This is the *output_charset* attribute if that is not ``None``, otherwise 171 .. function:: add_charset(charset, header_enc=None, body_enc=None, output_charset=None) 184 Optional *output_charset* is the character set that the output should be in. 189 Both *input_charset* and *output_charset* must have Unicode codec entries in the
|
D | email.compat32-message.rst | 256 parameter will be set to *charset.output_charset*. If 257 *charset.input_charset* and *charset.output_charset* differ, the payload 258 will be re-encoded to the *output_charset*. If there is no existing
|
D | gettext.rst | 324 .. method:: output_charset()
|
/third_party/python/Lib/test/ |
D | test_gettext.py | 676 self.assertEqual(t.output_charset(), 'utf-16') 818 self.assertEqual(t.output_charset(), 'utf-16')
|
/third_party/python/Lib/ |
D | gettext.py | 336 def output_charset(self): member in NullTranslations
|
/third_party/python/Lib/test/test_email/ |
D | test_email.py | 1735 eq(msg.get_charset().output_charset, 'utf-8')
|
/third_party/python/Doc/whatsnew/ |
D | 3.8.rst | 1703 :meth:`~gettext.NullTranslations.output_charset` and
|
D | 2.7.rst | 1242 payload to the encoding specified by :attr:`output_charset`.
|
/third_party/python/Misc/ |
D | HISTORY | 13340 output_charset before calling base64mime.encode. Passes the tests from 2.x
|