Unix email programs      contents

Unix email programs MuttMutt site      contents

Since version 0.95 Mutt can recode UTF-8 into 8 bit terminal encoding. 1.3.x versions have introduced possibility of different terminal and sent message encodings and, by default, if characters in the message are out of "iso-8859-1" range, Mutt sends it as UTF-8.
To use Mutt with UTF-8 terminal you should have xterm or other UTF-8 capable terminal and fonts. XFree86 has that since version 4.
To invoke xterm in UTF-8 mode, use uxterm script that is distributed together.
You can use other terminal emulator as well, for example Konsole from KDE.

Put into ~/.muttrc commands, to define terminal charset and locale:

set charset=UTF-8
set locale=en_US.UTF-8

Or if you have corresponding environment variables defined:

set charset=$MM_CHARSET
set locale=$LANG

You should have en_US.UTF-8 libc locale installed, all modern systems have it. "send_charset" Mutt setting may be left as default.

Please read here if you are interested in translated Mutt interface.

Here are detailed instructions how to compile Mutt with UTF-8 terminal support.

For message composing you can use any of multiple text editors with UTF-8 support.



Below are instructions how to adopt Mutt or other Unix email program as news reader.

Download from metalab.unc.edu newsfetch utility. Procmail utility usually is installed on most freeware Unix distribution. Put into some /bin/sh script, e.g. /etc/ppp/ip-up:

for NNTPHOST in news.MyISP.net ; do
	newsfetch $NNTPHOST -f ~/.newsfetchrc.$NNTPHOST -d ~/Mail/ -T 180 -p procmail
done

Put into ~/.newsfetch.news.MyISP.net:

alt.test 0 100

You will have news postings into your mailbox. As usual it is worth to put into ~/.procmailrc a filter:

:0
* ^Newsfetch:.*Newsfetch
Newsfetch

:0
* ^Newsfetch:.*Trying
Trying

:0
* ^Newsfetch:.*List
List

:0
* ^Newsfetch:[  ]+\/.+
| formail -A "To: $MATCH.usenet@localhost"  >>"$MATCH"

To post something please download from metalab "mail-inews". Put into sendmail.mc:

define(`USENET_MAILER_PATH', `/usr/local/bin/inews')dnl
define(`USENET_MAILER_ARGS', `inews -hmSn')dnl
define(`USENET_MAILER_MAX', `10000000')dnl

Regenerate new sendmail.cf using "m4", exact command specific for your OS you should find in /etc/mail/sendmail.cf or /etc/sendmail.cf file.

It is for dialup, if your Internet connection is permanent, you can invoke "inews" directly for news posting.




KMailKDE      contents

Most KDE programs since KDE 2 can input and show Unicode. It is enough to select in "K->Control Center->Look and feel->Fonts" some Unicode fonts with all needed symbols. To input you can use normal XFree or X.Org XKB keyboard description. You should have a working libc locale with UTF-8 encoding. Before launching KDE there should be corresponding LANG environment variable defined.

If you use KMail from KDE 2.1 or newer, select "Settings->Configure Kmail->Composer->Charset->" and leave only us-ascii and utf-8 for message composing. "utf-8" should be below "us-ascii". When viewing received messages select "View->Set encoding->Auto".




KNodeKDE      contents

KNode is KDE news reader, but it can be used for sending email messages as well. Common information about KDE in KMail section is relevant to KNode as well. Select "Settings->Configure KNode->Posting News->Technical->Charset->utf-8" for article posting. Select "View->Charset->Automatic" for article viewing.




PineWashington University      contents

To use Pine with UTF-8 terminal you should have xterm or other UTF-8 capable terminal and fonts. XFree86 has that since version 4.
To invoke xterm in UTF-8 mode, use uxterm script that is distributed together.
You can use other terminal emulator as well, for example Konsole from KDE.

Please read Pine UTF-8 FAQ for futher info.




DtMail (Solaris 8+)Sun      contents

DtMail from Solaris v8 or newer supports many MIME character sets and sends out in UTF-8 if entered characters are not supported by selected character set.




Mozilla Mail and NewsMozilla organization      contents

Select "Edit->Preferences->Navigator->Languages". Add languages you are interested in and order them by your preference. Leave "English (en)" as well if you want to see webpages in English.

Select "Edit->Preferences->Mail and Newsgroups->Message Composition->Character Coding->Unicode (UTF-8)".

Select "Edit->Preferences->Mail and Newsgroups->Message Display". Check if "Apply default to all" is not checked. It should be unchecked as it is by default otherwise you would be able to see messages in one encoding only. It isn't critical what "Character Coding" you will choose in "Message Display" section because most messages are labeled.

Click "New Msg" and select "View->Character Coding->". If "Unicode (UTF-8)" isn't present, click "Customize..." and add "Unicode (UTF-8)".

Futher text is specific to Unix Mozilla.

Select "Edit->Preferences->Appearance->Fonts". At the moment of this writing Mozilla uses fonts selected separately for each language even if the text is in Unicode. Because of that it is advised to use the same font though presented/generated in different character sets for all latin script language groups - "Western", "Central European", "Baltic". You should also choose the same font sizes as for "Unicode" font.



  Valid XHTML 1.0!