Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Nov 2003 15:26:14 +0100
From:      Joan Picanyol i Puig <lists-freebsd-questions@biaix.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: login.conf and accents weirdness
Message-ID:  <20031101142614.GA49458@grummit.biaix.org>
In-Reply-To: <20031101111745.GB1831@watt.intra.caraldi.com>
References:  <20031021211437.GA9314@grummit.biaix.org> <20031101111745.GB1831@watt.intra.caraldi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
[please honour MFT, not subscribed]

* Jean-Baptiste Quenot <jb.quenot@caraldi.com> [20031101 12:12]:
> * In console or in X11?
Both

> * If X11, what terminal emulator do you use?
xterm

> * What shell do you use?
bash

> * What language and especially encoding has your mail?
(15:23:01 <~/tmp>) 0 $ grep ontent mail.test 
Content-Type: text/plain; charset=iso-8859-1; format=flowed

> I suggest  to set LC_CTYPE=es_ES.ISO8859-15  in your shell's  init file,
> and don't  forget to  export that variable  (export with  [ba]sh, setenv
> with [t]csh).
I have these lines in /etc/login.conf

:setenv=LC_CTYPE=ISO8859-15,LANG=ca_ES.ISO8859-15: \
:lang=ca_ES.ISO-8859-15:\
:charset=ISO8859-15:\

> Also, please test with  more or less, not mutt, so it  will be easier to
> find the solution.  Make a test  file with special characters not in the
> 7-bit range, and view it.
I'm attaching my test file (an actual message). Both under xterm and
console the results are the sime: cat works fine but more and less do
not.

Where's the culprit?

tks
-- 
pica



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031101142614.GA49458>