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

Re: 8-bit characters



On Tue, Apr 10, 2001 at 01:46:34PM -0500, will trillich wrote:
| pooh. i tried setting LESSCHARSET=iso8859 (and latin1) via
| bash 'export' so it'd be an environment variable, but even LESS
| still displays high-bit (8-bit) characters as chinese:
| 
| % export LESSCHARSET=latin1
| % zless /etc/console-tools/default.kmap.gz
| [snip]
| compose '^' 'u' to 'û'
| compose '"' 'U' to 'Ü'
| compose '"' 'u' to 'ü'
| compose '\'' 'Y' to 'Ý'
| compose '\'' 'y' to 'ý'
| compose 'T' 'H' to 'Þ'
| compose 't' 'h' to 'þ'
| compose 's' 's' to 'ß'
| compose '"' 'y' to 'ÿ'
| compose 's' 'z' to 'ß'
| compose 'i' 'j' to 'ÿ'

Still looks fine here.  Try

$ cp /etc/console-tools/default.kmap.gz /tmp
$ gunzip /tmp/default.kmap.gz
$ less /tmp/default.kmap

Perhaps zless doesn't use the same environment variables as less?

-D



Reply to: