• Making UTF-8 Mode Default

    From Lawrence D?Oliveiro@3:633/10 to All on Tue Apr 7 21:45:43 2026
    From <https://peps.python.org/pep-0686/>:

    Additionally, many Python developers using Unix forget that the
    default encoding is platform dependent. They omit to specify
    encoding="utf-8" when they read text files encoded in UTF-8 (e.g.
    JSON, TOML, Markdown, and Python source files). Inconsistent
    default encoding causes many bugs.

    (Raises hand) Guilty.

    --- PyGate Linux v1.5.13
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)