Lines Matching refs:decoding
45 default error handler is ``'strict'`` meaning that decoding errors raise
62 * ``decode`` The stateless decoding function;
183 *error_handler* will be called during encoding and decoding in case of an error,
209 Implements the ``strict`` error handling: each encoding or decoding error
223 encoding or decoding is continued without further notice.
244 providing transparent encoding/decoding. The default file mode is ``'r'``
362 | | Unicode codecs on decoding and '?' on |
405 In a Unicode context, decoding converts a plain string encoded using a
417 decoding efficient.
423 the basic interface for incremental encoding and decoding. Encoding/decoding the
428 the encoding/decoding process during method calls.
495 The :class:`IncrementalDecoder` class is used for decoding an input in multiple
658 stream for decoding purposes. The decoder can modify this setting as
664 line, if there are decoding errors on later lines.
709 primarily intended to be able to recover from decoding errors.
797 unicode object from the sequence of bytes is known as decoding. There are many
820 will always have to swap bytes on encoding and decoding. ``UTF-32`` avoids this
829 appears to be a ``U+FFFE`` the bytes have to be swapped on decoding.
887 decoding ``utf-8-sig`` will skip those three bytes if they appear as the first
1141 str-to-unicode decoding [#decoding-note]_, similar to the Unicode text
1190 The following codecs provide str-to-str encoding and decoding
1191 [#decoding-note]_.
1228 objects. They are implicitly converted to unicode by decoding them using
1232 .. [#decoding-note] unicode objects are also accepted as input in place of str
1234 default encoding. If this conversion fails, it may lead to decoding
1316 is only done once (on the first write to the byte stream). For decoding an