Dave Ewart writes:
> On Tuesday, 26.09.2000 at 11:01 +0100, Lars Hecking wrote:
> 
> > > e.g. the UK pound sign, £ (don't know how that'll appear for most of
> > > you) appears as \243 (that's backslash, 2, 4, 3).
> > 
> >  Set your locale properly. If that doesn't help, compile with
> >  --enable-locales-fix.
> 
> Thanks for the suggestion, Lars.  How do I set my locale?
 
 Setting LC_CTYPE should be enough.

 Example: in general, I prefer a C locale, but occasionally I do need
 certain non-ascii characters. So here's what I am using:

$ grep LC_ ~/.muttrc
set editor="LC_CTYPE=en_IE.ISO8859-15 vi"
set pager="LC_CTYPE=en_IE.ISO8859-15 less -ceiM +Gg"
$

 Works nicely: £ Å Ë Ø ç í etc.

 A different solution, which can be implemented with a wrapper script
 or aliases:

$ LC_CTYPE=en_IE.ISO8859-15 mutt   # Bourne/Korn

$ env LC_CTYPE=en_IE.ISO8859-15 mutt   # Csh and friends

 Or simply set the correct locale permanently in your environment
 (Solaris/CDE allows you to choose the locale on login if all the
  necessary files are installed).

Reply via email to