bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

warn on man page that unencoded subject are not portable


From: 積丹尼 Dan Jacobson
Subject: warn on man page that unencoded subject are not portable
Date: Mon, 22 Jun 2020 02:56:02 +0800

$ man mail

   -s, --subject=SUBJ
              send a message with the given SUBJECT

But warn that will be unreadable in Gmail('s Android app etc.), as the
subject will not be properly encoded.

$ echo test|mail -s 'ABC 測試' someuser@gmail.com

What will work needs to look like

$ echo test|mail -s 'ABC =?UTF-8?B?...' someuser@gmail.com

else the user will see 'ABC ???????' in Gmail.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]