[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: locale problems -- LANG=en_US and iso-8859-1 fsckups



On Sat, Jan 20, 2001 at 02:10:29AM -0800, kmself@ix.netcom.com wrote:
> Objective:  Specify a locale value which:
> 
>   - Renders standard shell output properly.
>   - Supports international (iso-8859-1 aka latin-1) charactersets.
>   - Is supported by common text-mode utilities such as vim, mutt, tin,
>     and w3m.
>   - Doesn't cause Perl to choke.
>   
> My current setting of LANG=en_US fails on the last three points.

As you seem to be mainly interested in getting the character set correct,
you should propably set LC_CTYPE instead of LANG. Actually, I don't really
even know what LANG is supposed to do :-]


> International characters under mutt and other utilities appear as octal
> representations.

Setting LC_CTYPE properly fixes this.


-- 
Tommi Komulainen                                 Tommi.Komulainen@iki.fi
GPG 1024D/68388EE6    6FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6

Attachment: pgp7Bp0mnF09V.pgp
Description: PGP signature


Reply to: