Home
last modified time | relevance | path

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

/external/python/cpython3/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)
/external/python/cpython2/Lib/email/mime/
Dtext.py17 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/
DRequestPayload.java25 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/
Dgettext.py251 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/
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
/external/python/cpython2/Lib/email/
Dmessage.py111 self._charset = None
245 self._charset = None
253 self._charset = charset
276 return self._charset
Dheader.py177 self._charset = charset
255 charset = self._charset
/external/python/cpython2/Doc/library/
Demail.mime.rst193 .. 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
Demail.rst162 private variables *_charset* and *_default_type*.
211 *_charset* argument.
Dgettext.rst248 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/
Dgettext.py257 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/
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
/external/python/cpython2/Lib/email/test/
Dtest_email.py592 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')
Dtest_email_renamed.py530 msg = MIMEText('hello \xf8 world', _charset='iso-8859-1')
1051 msg = MIMEText('hello there', _charset='us-ascii')
/external/python/cpython3/Lib/test/test_email/
Dtest_email.py822 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/
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
/external/freetype/
DChangeLog.201726 * src/cff/cffload.h: Add `cff_*_encoding' and `cff_*_charset'
/external/guice/extensions/struts2/lib/
Djetty-6.1.0.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mortbay/ org/ ...