Subject: Setting locales (or: how to get Elm to use the right charset)
To: None <current-users@NetBSD.ORG>
From: Martin Husemann <martin@rumolt.teuto.de>
List: current-users
Date: 01/08/2000 16:16:43
The new year forced me to update my elm from pkgsrc. I was using an old 
version (ME+30 I think) but that broke the date headers.

The current version now breaks all my mails using non-ascii characters
with a message "Mail contains 8 bit chars and charset = US-ASCII, using
UNKNOWN-8BIT instead". And of course these characters are unreadable by
the recipient.

Digging around in the elm directories I came to the conclusion all should
work fine (as elm has a mapping "elm.mimecharsets" which should map LC_CTYPE
of "de" or de_DE to ISO-8859-1).

But: how do I set my locale? Probably some environement setting, but this
seems to be documented nowhere. At least I didn't find it via apropos or
the usual "man" suspects. Short of reading the libc source, what would
I need to do to find out?


Martin