Home
last modified time | relevance | path

Searched refs:_charset (Results 1 – 13 of 13) sorted by relevance

/third_party/python/Lib/email/mime/
Dtext.py17 def __init__(self, _text, _subtype='plain', _charset=None, *, policy=None): argument
32 if _charset is None:
35 _charset = 'us-ascii'
37 _charset = 'utf-8'
40 **{'charset': str(_charset)})
42 self.set_payload(_text, _charset)
/third_party/python/Lib/email/
Dheader.py20 from email import charset as _charset unknown
21 Charset = _charset.Charset
77 return [(_charset._encode(string, str(charset)), str(charset))
213 self._charset = charset
241 if nextcs == _charset.UNKNOWN8BIT:
287 charset = self._charset
292 if input_charset == _charset.UNKNOWN8BIT:
299 if output_charset != _charset.UNKNOWN8BIT:
D_policybase.py8 from email import charset as _charset unknown
288 return header.Header(value, charset=_charset.UNKNOWN8BIT,
347 charset=_charset.UNKNOWN8BIT,
Dmessage.py18 from email import charset as _charset unknown
20 Charset = _charset.Charset
125 self._charset = None
339 self._charset = None
343 self._charset = charset
373 return self._charset
/third_party/python/Lib/
Dgettext.py257 self._charset = None
334 return self._charset
435 self._charset = v.split('charset=')[1]
449 charset = self._charset or 'ascii'
/third_party/python/Doc/library/
Demail.mime.rst229 .. class:: MIMEText(_text, _subtype='plain', _charset=None, *, policy=compat32)
236 minor type and defaults to :mimetype:`plain`. *_charset* is the character
240 ``utf-8`` otherwise. The *_charset* parameter accepts either a string or a
243 Unless the *_charset* argument is explicitly set to ``None``, the
256 *_charset* also accepts :class:`~email.charset.Charset` instances.
Demail.encoders.rst17 class sets the content type and CTE header using the *_subtype* and *_charset*
Dgettext.rst248 Initializes "protected" instance variables *_info* and *_charset* which are set
379 initialize the "protected" :attr:`_charset` instance variable, defaulting to
/third_party/python/Lib/test/test_email/
Dtest_email.py823 msg = MIMEText('hello \xf8 world', _charset='iso-8859-1')
831 msg = MIMEText('文\n', _charset='euc-jp')
1707 msg = MIMEText('hello there', _charset='us-ascii')
1713 msg = MIMEText('hello there', _charset=charset)
1720 msg = MIMEText('hello there', _charset='us-ascii')
1734 msg = MIMEText(teststr, _charset='utf-8')
/third_party/python/Misc/NEWS.d/
D3.6.0b1.rst745 Don't pass str(_charset) to MIMEText.set_payload(). Patch by Claude Paroz.
D3.5.3rc1.rst957 Don't pass str(_charset) to MIMEText.set_payload(). Patch by Claude Paroz.
D3.5.0a1.rst301 _charset parameter of MIMEText now also accepts email.charset.Charset
/third_party/skia/third_party/externals/freetype/docs/oldlogs/
DChangeLog.201726 * src/cff/cffload.h: Add `cff_*_encoding' and `cff_*_charset'