user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
From: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
To: meta@public-inbox.org
Subject: handling unquoted utf8 in the headers
Date: Thu, 24 Nov 2022 10:37:15 -0500	[thread overview]
Message-ID: <20221124153715.3nenjpjzj43vqxr2@meerkat.local> (raw)

Hello:

There's a bit of inconsistency handling messages with utf8 content in the
headers:

https://lore.kernel.org/b4-sent/20221122-gud-shadow-plane-v1-0-9de3afa3383e@tronnes.org/

You can see that the name in the From: line is mangled, but in the thread
overview it is displayed correctly.

I know older SMTP standards still require 7bit escaping in the headers, but
with SMTPUTF8 being very widely available, it should be possible to store and
properly display messages with 8bit unicode in the headers.

-K

             reply	other threads:[~2022-11-24 15:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-24 15:37 Konstantin Ryabitsev [this message]
2022-11-24 21:31 ` [PATCH] eml: header_raw converts octets to Perl UTF-8 Eric Wong
2022-11-25 18:14   ` Konstantin Ryabitsev
2022-11-27  9:15     ` [PATCH] content_hash: handle References as octets Eric Wong
2022-11-26  9:05   ` [PATCH] eml: header_raw converts octets to Perl UTF-8 Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221124153715.3nenjpjzj43vqxr2@meerkat.local \
    --to=konstantin@linuxfoundation.org \
    --cc=meta@public-inbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).