Lines Matching refs:Charset
16 This module provides a class :class:`Charset` for representing character sets
19 Instances of :class:`Charset` are used in several other modules within the
25 .. class:: Charset(input_charset=DEFAULT_CHARSET)
49 :class:`Charset` instances have the following data attributes:
61 header, this attribute will be set to ``Charset.QP`` (for
62 quoted-printable), ``Charset.BASE64`` (for base64 encoding), or
63 ``Charset.SHORTEST`` for the shortest of QP or BASE64 encoding. Otherwise,
71 ``Charset.SHORTEST`` is not allowed for *body_encoding*.
96 :class:`Charset` instances also have the following methods:
146 The :class:`Charset` class also provides a number of methods to support
158 This method allows you to compare two :class:`Charset` instances for
164 This method allows you to compare two :class:`Charset` instances for
178 Optional *header_enc* and *body_enc* is either ``Charset.QP`` for
179 quoted-printable, ``Charset.BASE64`` for base64 encoding,
180 ``Charset.SHORTEST`` for the shortest of quoted-printable or base64 encoding,
186 when the method :meth:`Charset.convert` is called. The default is to output in