G'day Andrei and Joan,
* Andrei A. Voropaev <avorop@xxxxxxx> [031010 14:17]:
> > Mutt's internal pager does not show me accents and stuff, I see things
> > like this:
> >
> > Aix\362 ser\340 en el m\363n de la far\340ndula
> >
> > instead of like this:
> >
> > Aix? ser? en el m?n de la far?ndula
> >
> > This happens if I'm on a virtual terminal or an Xterm or ssh'in from
> > somewhere else. The OS is FreeBSD-stable.
> >
> > Are there any workarounds? What's the cause for it? I'm attaching the
> > output of mutt -v for reference.
>
> You should setup your locale. For example I have to set
> LC_CTYPE=ru_RU.KOI8-R to be able to see russian letters.
At least under RedHat 8 with gnome-terminal this doesn't work. They
_REALLY_ screwed up the character encoding when they went to utf-8.
The best thing I've found to do is...
* Open a gnome terminal with the following command:
LANG=en_GB.ISO-8859-1 gnome-terminal --disable-factory
(For some reason you need the --disable-factory option)
* Run mutt with:
LANG=en_GB.ISO-8859-1 mutt
Why haven't I "export LANG=..." in my login? It seems to screw more
things up than it fixes. :-<
I also have to run "man" as "LANG=en man" because with the default
en_GB.UTF-8 encoding I can search on any flags that are emphasised(?).
For example /usr/bin/man gcc won't let me search (/) on -c whilst
"LANG=en man gcc" does. :-(
If anyone has any opinions/fixes I'd be glad to hear them. I don't
have the option of recompiling things unfortunately as this isn't my
machine, so it will have to environmental...
Ah for the days of setting latin1 and being done with it! ;-)
S.
--
European Citizens: Please do a little work to convince the European
Parliament to reject software patents. This page explains the issue
and provides suggestions for action; take the time to participate.
http://swpat.ffii.org/
Attachment:
signature.asc
Description: Digital signature