SUMMARY: mailx send text file in ISO-8859-2

From: Ludek Babor <Babor_at_Glavunion.cz>
Date: Fri, 25 May 2001 08:22:54 +0200

Hello,
thanks to:
sysadmin_at_astro.su.se
"Dr. Thomas Blinn" tpb_at_doctor.zk3.dec.com

I had to correctly setup czech environment in UNIX:
export NLSPATH=/us/lib/nls
 - previously missed
export LANG=cs_CZ.ISO8859-2

setup outgoing mail code:
export EXCODE=ISO8859-2

setup sendmail to send 8bit messages
/usr/sbin/wwsetup
 - previously missed

now I got:
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO8859-2

But my e-mail clients (Outlook and Pegasus Mail) does not understand
ISO8859-2 - they knows only ISO-8859-2.
So I created in $NLSPATH symbolic link:
ln -s ln -s ../../../i18n/lib/nls/loc/cs_CZ.ISO8859-2 cs_CZ.ISO-8859-2
and use it:
export LANG=cs_CZ.ISO-8859-2
export EXCODE=ISO-8859-2

AND NOW IT WORKS !!!

In mail headers I got:
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-2

and mails are readable.

Best regards
 Ludek Babor E-Mail: Babor_at_Glavunion.cz
 System Manager E-Mail: Ludek.Babor_at_cz.glaverbel.com
 Glavinfo G.I.E, Teplice Tel: +420-417-503085 (+420-602-388003)
 Sklarska 450 Fax: +420-417-508085
 416 74 Teplice FIDO: 2:423/74.13

Original message:
> Date: Tue, 22 May 2001 15:09:46 +0200
> From: Ludek Babor <Babor_at_Glavunion.cz>
> Subject: mailx send text file in ISO-8859-2
> To: tru64-unix-managers_at_ornl.gov
> Organization: Glaverbel Czech, a.s., Teplice
> Priority: normal

> Hello,
> is it possible to send text file, which contains czech characters in
> ISO-8859-2 using "mailx" ? I tried to send this file, but mail header
> does not contain "Content-Type". I tried to set variable EXCODE: export
> EXCODE=cs_CZ.ISO8859-2 debug output from "mailx" contains: in
> init_conversion, excode is ISO8859-2, codeset is ISO8859-1, sys_excode is
> (null), error_ action is 1 but still no "Content-Type". So I tried to set
> variable EXCODE to ISO8859-1: export EXCODE=cs_CZ.ISO8859-2 mail header
> now contains: Content-Type: TEXT/PLAIN; charset=ISO8859-1 but mail body
> is in ISO-8859-2. How can I send file using "mailx" in ISO-8859-2 ?
>
> Best regards
> Ludek Babor E-Mail: Babor_at_Glavunion.cz
> System Manager E-Mail: Ludek.Babor_at_cz.glaverbel.com
> Glavinfo G.I.E, Teplice Tel: +420-417-503085 (+420-602-388003)
> Sklarska 450 Fax: +420-417-508085
> 416 74 Teplice FIDO: 2:423/74.13
>
> PGP key available from PGP key servers (http://www.pgp.net/pgpnet)
>
> I use MIME ISO-8859-2 friendly software.
Received on Fri May 25 2001 - 06:27:12 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT