• Making UTF-8 Mode Default

    From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.lang.python on Tue Apr 7 21:45:43 2026
    From Newsgroup: comp.lang.python

    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.
    --- Synchronet 3.21f-Linux NewsLink 1.2