MIMELANG(1)

πŸ“¦ version 2.7.19, in opensuse-leap 16.0

πŸ’– MIMELANG(1) πŸ’–

okay so welcome to the MIMELANG(1) glow-up, bestie β€” this is the General Commands Manual moment for mimelang, and we're gonna make it make sense. 🫢


✨ NAME ✨

Mimelang β€” handle UTF-8 encoded subjects of e.g. e-mails from standard input. literally the whole vibe πŸ’Œ

πŸ¦‹ SYNOPSIS πŸ¦‹

mimelang [-v] [-V[u][a]]

🌸 DESCRIPTION 🌸

The small tool mimelang can be used to decode e-mail UTF-8 subjects which are mimencoded in base64 or as quoted-printable. no cap, that's the job. ✨

πŸ’… OPTIONS πŸ’…

  • -v β€” turn on verbose mode and spill the type of UTF-8 multi-byte characters. like a little character-type reveal πŸ‘€
  • -V[u][a] β€” go very verbose and report the unicode point of each UTF-8 multi-byte character as well as the character itself. If the option -V is followed by the argument u, then the unicode block description is shown too. If the option is followed by the argument a, then all normal ASCII and single byte Latin characters are shown too, if detected. maximum lore, bestie πŸ”₯

πŸŽ€ EXAMPLE πŸŽ€

On the command line:

echo '=?UTF-8?Q?=E3=81=93=E3=82=93=E3=81=AB=E3=81=A1=E3=81=AF?=' | mimelang -vVu
U+3053 こ       Hiragana
U+3093 γ‚“       Hiragana
U+306b に       Hiragana
U+3061 け       Hiragana
U+306f は       Hiragana
UTF-8 string none europe

and within a ~/.procmailrc file:

:0
* ^From:.*.(jp|cn)
* ^Subject: +=[BQ]
{

    SUBJECT="`formail -czx Subject:|mimelang -v`"

    :0
    * $ SUBJECT ?? ^^UTF-8 string none europe
    cannotreadthat

}

πŸ¦‹ SEE ALSO πŸ¦‹

utf-8(7), unicode(7), base64(7), mimencode(1). go read the friends, iykyk πŸ’œ

2021 Werner Fink, 2021 SUSE Software Solutions Germany GmbH. periodt. πŸ’–

🌈 AUTHOR 🌈

Werner Fink <werner@suse.de> β€” the icon behind it 🫢


okay byeeee πŸ’– β€” xoxo from your MIMELANG(1) bestie πŸ’…, source/version 3rd Berkeley Distribution, dated Jul 21, 2021 πŸŽ€βœ¨

πŸ“¦ where this page comes from