tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Ludek Babor <Babor () Glavunion ! cz>
To: tru64-unix-managers
Subject: SUMMARY: mailx send text file in ISO-8859-2
Date: Fri, 25 May 2001 06:22:54 +0000	[thread overview]
Message-ID: <102653647622111.tru64-unix-managers.marc@archive.invalid> (raw)

Hello,
thanks to:
sysadmin@astro.su.se
"Dr. Thomas Blinn" tpb@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@Glavunion.cz
 System Manager			E-Mail: Ludek.Babor@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@Glavunion.cz>
> Subject:       mailx send text file in ISO-8859-2
> To:            tru64-unix-managers@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@Glavunion.cz
>  System Manager			E-Mail: Ludek.Babor@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.

                 reply	other threads:[~2001-05-25  6:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox