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

Re: 8-bit characters



On Tue, Apr 10, 2001 at 06:33:04PM -0400, D-Man wrote:
> 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?

nope. in VI (which i'd expect to be unaffected by LESS*
environment variables) they're still chinese under krxvt
and semi-greek under console.

when viewing your message in MUTT under krxvt they all show as
'?' so i thought mutt was intercepting 8-bit chars and
transposing ? for each; but then at console (alt-ctl-f2) i see
the pseudo-greek again, even in the mutt 'message-view' mode. so
i'm lost.

	X -> KRXVT:
		mutt = '?'
		vi   = chinese(?)
	CONSOLE (ctl-alt-f2):
		mutt = semi-greek
		vi   = semi-greek

i'd like to specify latin1 or one of the iso sets... ?

--

so i could still use some pointers on how to get CONSOLE sessions
to switch alternate 8-bit charsets (from greek to latin1)? and
same for XTERM/RXVT sessions under X (from chinese? to latin1)?

-- 
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: