About 1,170 results
Open links in new tab
  1. Unicode HOWTO — Python 3.13.3 documentation

    2 days ago · The rules for translating a Unicode string into a sequence of bytes are called a character encoding, or just an encoding. The first encoding you might think of is using 32-bit …

  2. codecs — Codec registry and base classes - Python

    3 days ago · There’s another encoding that is able to encode the full range of Unicode characters: UTF-8. UTF-8 is an 8-bit encoding, which means there are no issues with byte order in UTF-8. …

  3. Unicode Objects and Codecs — Python 3.13.3 documentation

    1 day ago · PyObject * PyUnicode_AsEncodedString (PyObject * unicode, const char * encoding, const char * errors) ¶ Return value: New reference. Part of the Stable ABI. Encode a Unicode …

  4. Codec registry and support functions — Python 3.13.3 …

    4 days ago · Get a StreamWriter factory function for the given encoding. Registry API for Unicode encoding error handlers ¶ int PyCodec_RegisterError ( const char * name , PyObject * error ) ¶

  5. Base16, Base32, Base64, Base85 Data Encodings - Python

    1 day ago · This module provides functions for encoding binary data to printable ASCII characters and decoding such encodings back to binary data. This includes the encodings specified in …

  6. json — JSON encoder and decoder — Python 3.13.3 documentation

    1 day ago · Other than the ensure_ascii parameter, this module is defined strictly in terms of conversion between Python objects and Unicode strings, and thus does not otherwise directly …

  7. 2. Lexical analysis — Python 3.13.3 documentation

    Python reads program text as Unicode code points; the encoding of a source file can be given by an encoding declaration and defaults to UTF-8, see PEP 3120 for details. If the source file …

  8. email.charset : Representing character sets - Python

    3 days ago · The type of encoding (base64 or quoted-printable) will be based on the body_encoding attribute. The Charset class also provides a number of methods to support …

  9. xml.etree.ElementTree — The ElementTree XML API - Python

    3 days ago · Use encoding="unicode" to generate a Unicode string (otherwise, a bytestring is generated). method is either "xml" , "html" or "text" (default is "xml" ). xml_declaration , …

  10. urllib.parse — Parse URLs into components — Python 3.13.3 …

    1 day ago · The optional encoding and errors parameters specify how to decode percent-encoded sequences into Unicode characters, as accepted by the bytes.decode() method. string may be …

Refresh