Home
last modified time | relevance | path

Searched refs:output_charset (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Lib/email/
Dcharset.py108 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
Dmessage.py262 self._payload = self._payload.encode(charset.output_charset)
/external/python/cpython2/Doc/library/
Demail.charset.rst69 .. 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
Demail.message.rst143 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*
Demail.mime.rst204 *output_charset* of *_charset*, otherwise it is used as-is.
Dgettext.rst329 .. method:: output_charset()
/external/python/cpython2/Lib/
Dgettext.py311 def output_charset(self): member in NullTranslations
/external/python/cpython2/Lib/email/test/
Dtest_email.py1112 eq(msg.get_charset().output_charset, 'utf-8')
/external/python/cpython2/Doc/whatsnew/
D2.7.rst1227 payload to the encoding specified by :attr:`output_charset`.
/external/python/cpython2/Misc/
DNEWS6168 encodes a unicode _payload to the output_charset.