Searched refs:output_charset (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython2/Lib/email/ |
D | charset.py | 108 def add_charset(charset, header_enc=None, body_enc=None, output_charset=None): argument 133 CHARSETS[charset] = (header_enc, body_enc, output_charset) 230 self.output_charset = ALIASES.get(conv, conv) 235 self.output_codec = CODEC_MAP.get(self.output_charset, 236 self.output_charset) 330 return self.output_charset or self.input_charset
|
D | message.py | 262 self._payload = self._payload.encode(charset.output_charset)
|
/external/python/cpython2/Doc/library/ |
D | email.charset.rst | 69 .. attribute:: output_charset 87 *output_charset*. If no conversion codec is necessary, this attribute 148 This is the *output_charset* attribute if that is not ``None``, otherwise 210 .. function:: add_charset(charset[, header_enc[, body_enc[, output_charset]]]) 223 Optional *output_charset* is the character set that the output should be in. 228 Both *input_charset* and *output_charset* must have Unicode codec entries in the
|
D | email.message.rst | 143 parameter will be set to *charset.output_charset*. If 144 *charset.input_charset* and *charset.output_charset* differ, the payload 145 will be re-encoded to the *output_charset*. If there is no existing 155 It will be encoded or converted to *charset.output_charset*
|
D | email.mime.rst | 204 *output_charset* of *_charset*, otherwise it is used as-is.
|
D | gettext.rst | 329 .. method:: output_charset()
|
/external/python/cpython2/Lib/ |
D | gettext.py | 311 def output_charset(self): member in NullTranslations
|
/external/python/cpython2/Lib/email/test/ |
D | test_email.py | 1112 eq(msg.get_charset().output_charset, 'utf-8')
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.7.rst | 1227 payload to the encoding specified by :attr:`output_charset`.
|
/external/python/cpython2/Misc/ |
D | NEWS | 6168 encodes a unicode _payload to the output_charset.
|