Liste des Groupes | Revenir à cu shell |
In comp.unix.shell, Lew Pitcher <lew.pitcher@digitalfreehold.ca> wrote:On Sun, 04 May 2025 18:15:38 +0000, Kenny McCormack wrote:I have a string like (this was the "From" address of an email I recently received):
=?utf-8?B?UGhpbGxpcCBHw7xudGVy?= <s69pguen@uni-bonn.de>
This is called a "MIME word" or "MIME encoded word" Mail headers are
supposed to be 7-bit clean even when mail bodies can have 8-bit
encodings. MIME words exist to put quoted-printable and base64 in
headers.
=?utf-8?B?UGhpbGxpcCBHw7xudGVy?=
^^^^^ | ^^^^^^^^^^^^^^^^^^^^
Charset | Content
|
Encoding: "B" for base64 "Q" for quoted-printable.
:r! echo UGhpbGxpcCBHw7xudGVy | base64 -d
Phillip Günter
TF-8?q?They’re_telling_us_something_about_something_ok?
That one is rather mangled. It doesn't follow the =?%s?%c?%s?= format.
It also has a high-bit character in the content.
But it does show the
quirk of MIME word quoted-printable: underscores used for spaces.
thinks Günter probably likes his name with the accent and not "pure ASCII"
Les messages affichés proviennent d'usenet.