Believe it or not, just changing "ttycharset=UTF-8" to lower case worked! Sheesh! The mailx man page says, "Best results are usually achieved when mailx is run in a UTF-8 locale on a UTF-8 capable terminal." Notice, NOT in lower case. The man page further reads,
Quote:
ttycharset
The character set of the terminal mailx operates on. There is normally no need to set this variable since mailx can determine
this automatically by looking at the LC_CTYPE locale setting; if this succeeds, the value is assigned at startup and will be
displayed by the set command. Note that this is not necessarily a character set name that can be used in Internet messages.
|
It apparently DOES NOT look at LC_CTYPE, as advertised! Furthermore, no mention that the ttycharset needs to be in lower case. You would think after all these centuries mailx would be pretty bug-free by now.
Thanks for this solution.