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

Re: 8-bit characters



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 'ÿ'

in VIM on KRXVT in X i see those as:
'^' 'u' looks like '<blank>
'"' 'U' looks like '<chinese 2-char>
'"' 'u' looks like '<blank>
'\'' 'Y' looks like '<chinese stuff>

on my vc (alt-ctl-f2) they show up as:
'^u' -> square-root
'"U' -> british pound
'"u' -> right-double-quote?
''Y' -> japanese yen
''y' -> superscript '2'
'TH' -> P-t combo?
...
'ss' -> function (scripty integral f-like gizmo)
'"y' -> ' ' (blank?)
'sz' -> function (scripty integral f-like gizmo)
'ij' -> ' ' (blank?)

i can imagine the LESSCHARSET will tell the LESS program how to
display 8-bit chars, but isn't there a global 'use-this-setup'
feature somewhere? krxvt and console should display these the
same way, i'd expect, once all the settings are revealed and
configured...

what is the per-terminal setting (xterm, console, rxvt, etc) that
specifies how to display 8-bit character data? RWFM?

-- 
americans should never read anything so subversive as what's at
http://www.salon.com/people/col/pagl/2001/03/21/spring/index1.html

will@serensoft.com
http://sourceforge.net/projects/newbiedoc -- we need your brain!
http://www.dontUthink.com/ -- your brain needs us!



Reply to: