less and LESSCHARSET=latin1 and scandinavian chars are &

Jani Ollikainen k0001744 at evtek.fi
Fri Nov 28 18:17:17 UTC 2003


Hi,


Ok, what have you done this time with charsets..

man less:

       -Kcharset
              Causes less to use this charset instead of a charset defined  in
              the JLESSCHARSET or LESSCHARSET environment variable.

($:~) echo "åöä hi mom" >moreisless
($:~) less moreisless
&&& hi mom
($:~) more moreisless
åöä hi mom


So how to fix this?


-- 
 Jani Ollikainen   http://iki.fi/bestis/





More information about the fedora-list mailing list