1830795 Members
4083 Online
110016 Solutions
New Discussion

Chinese font from mail

 
SOLVED
Go to solution
j773303
Super Advisor

Chinese font from mail

mail to root a e-mail, the content includes chinese font.
But it is can't show chinese correctly? how to trouble it?
Any configuration for mailx command?

ps: LANG=zh_TW.big5
Hero
4 REPLIES 4
Michael Tully
Honored Contributor
j773303
Super Advisor

Re: Chinese font from mail

execute the mailx to read mail, can see the charset=us_ascii, how to modify the charset = big5?
Hero
Michael Tully
Honored Contributor
Solution

Re: Chinese font from mail

Have a look at the man page for mailx. It does state information about charset=????? where the default us-ascii is used if nothing else is set. So you may look at utilising $HOME/.mailrc
Anyone for a Mutiny ?
Rick Beldin
HPE Pro

Re: Chinese font from mail

One thing to consider is that the shell used by root, /sbin/sh is not internationalized - that is, it will not work properly with any lang but C.

Does forwarding the mail to a non-root account work?
Necessary questions: Why? What? How? When?