• Re: Printing UTF-8 mail to terminal (Posting On Python-List Prohibited)

    From Lawrence D'Oliveiro@21:1/5 to Loris Bennett on Thu Oct 31 19:35:50 2024
    On Thu, 31 Oct 2024 16:33:41 +0100, Loris Bennett wrote:

    Dies ist eine =C3=9Cbung.

    What do I need to do to prevent the body from getting mangled?

    I don’t think that’s actually getting mangled, that is how the actual message body looks. What you have there is called “quoted printable” encoding, and it’s a standard way to ensure the message body consists only
    of 7-bit ASCII.

    If you look at the source of the message, you should see a header line
    like “Content-Transfer-Encoding: quoted-printable”. This is how your email client knows how to display the text properly.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Gilmeh Serda on Fri Nov 1 20:49:42 2024
    On Fri, 01 Nov 2024 20:18:16 GMT, Gilmeh Serda wrote:

    Put it in a list, unmangle it, sort it and you should have an
    alphabetical list of all modules on your system.

    For something easier to read, bookmark this page: <https://docs.python.org/3/library/>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Eli the Bearded on Sat Nov 2 00:43:27 2024
    On Fri, 1 Nov 2024 20:55:20 -0000 (UTC), Eli the Bearded wrote:

    As someone who has done a lot of work with email in other languages,
    "quopri" is not a name I'd expect or look for first pass for dealing
    with MIME quoted-printable encoding.

    <https://docs.python.org/3/search.html?q=quoted+printable>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)