/external/python/cpython3/Lib/email/mime/ |
D | text.py | 17 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)
|
/external/python/cpython2/Lib/email/mime/ |
D | text.py | 17 def __init__(self, _text, _subtype='plain', _charset='us-ascii'): argument 29 **{'charset': _charset}) 30 self.set_payload(_text, _charset)
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/util/ |
D | RequestPayload.java | 25 protected String _charset; field in RequestPayload 32 _charset = (charset == null || charset.isEmpty()) ? "UTF-8" : charset; in RequestPayload() 60 return new String(_payloadAsBytes, _charset); in toString()
|
/external/python/cpython2/Lib/ |
D | gettext.py | 251 self._charset = None 309 return self._charset 387 self._charset = v.split('charset=')[1] 405 if self._charset: 406 msgid1 = unicode(msgid1, self._charset) 407 tmsg = [unicode(x, self._charset) for x in tmsg] 411 if self._charset: 412 msg = unicode(msg, self._charset) 413 tmsg = unicode(tmsg, self._charset) 429 elif self._charset: [all …]
|
/external/python/cpython3/Lib/email/ |
D | header.py | 20 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.py | 8 from email import charset as _charset unknown 288 return header.Header(value, charset=_charset.UNKNOWN8BIT, 347 charset=_charset.UNKNOWN8BIT,
|
D | message.py | 18 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
|
/external/python/cpython2/Lib/email/ |
D | message.py | 111 self._charset = None 245 self._charset = None 253 self._charset = charset 276 return self._charset
|
D | header.py | 177 self._charset = charset 255 charset = self._charset
|
/external/python/cpython2/Doc/library/ |
D | email.mime.rst | 193 .. class:: MIMEText(_text[, _subtype[, _charset]]) 200 minor type and defaults to :mimetype:`plain`. *_charset* is the character 204 *output_charset* of *_charset*, otherwise it is used as-is. 208 Transfer Encoding now happens implicitly based on the *_charset* 211 Unless the ``_charset`` parameter is explicitly set to ``None``, the
|
D | email.rst | 162 private variables *_charset* and *_default_type*. 211 *_charset* argument.
|
D | gettext.rst | 248 Initializes "protected" instance variables *_info* and *_charset* which are set 326 Return the "protected" :attr:`_charset` variable. 390 initialize the "protected" :attr:`_charset` instance variable, defaulting to
|
/external/python/cpython3/Lib/ |
D | gettext.py | 257 self._charset = None 334 return self._charset 435 self._charset = v.split('charset=')[1] 449 charset = self._charset or 'ascii'
|
/external/python/cpython3/Doc/library/ |
D | email.mime.rst | 229 .. 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.
|
D | email.encoders.rst | 17 class sets the content type and CTE header using the *_subtype* and *_charset*
|
D | gettext.rst | 248 Initializes "protected" instance variables *_info* and *_charset* which are set 379 initialize the "protected" :attr:`_charset` instance variable, defaulting to
|
/external/python/cpython2/Lib/email/test/ |
D | test_email.py | 592 msg = MIMEText('hello \xf8 world', _charset='iso-8859-1') 600 msg = email.MIMEText.MIMEText('\xca\xb8', _charset='euc-jp') 1091 msg = MIMEText('hello there', _charset='us-ascii') 1097 msg = MIMEText(u'hello there', _charset='us-ascii') 1111 msg = MIMEText(teststr, _charset='utf-8')
|
D | test_email_renamed.py | 530 msg = MIMEText('hello \xf8 world', _charset='iso-8859-1') 1051 msg = MIMEText('hello there', _charset='us-ascii')
|
/external/python/cpython3/Lib/test/test_email/ |
D | test_email.py | 822 msg = MIMEText('hello \xf8 world', _charset='iso-8859-1') 830 msg = MIMEText('文\n', _charset='euc-jp') 1706 msg = MIMEText('hello there', _charset='us-ascii') 1712 msg = MIMEText('hello there', _charset=charset) 1719 msg = MIMEText('hello there', _charset='us-ascii') 1733 msg = MIMEText(teststr, _charset='utf-8')
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.0b1.rst | 745 Don't pass str(_charset) to MIMEText.set_payload(). Patch by Claude Paroz.
|
D | 3.5.3rc1.rst | 957 Don't pass str(_charset) to MIMEText.set_payload(). Patch by Claude Paroz.
|
D | 3.5.0a1.rst | 301 _charset parameter of MIMEText now also accepts email.charset.Charset
|
/external/freetype/ |
D | ChangeLog.20 | 1726 * src/cff/cffload.h: Add `cff_*_encoding' and `cff_*_charset'
|