Re: internal pager and 8-bit characters
On Fri, 10 Oct 2003, Stewart V. Wright wrote:
> G'day Thomas,
>
>
> > > > LC_CTYPE=ru_RU.KOI8-R to be able to see russian letters.
> > >
> > > At least under RedHat 8 with gnome-terminal this doesn't work. They
> > > _REALLY_ screwed up the character encoding when they went to utf-8.
> >
> > It shouldn't work. KOI8-R isn't UTF-8.
>
> Sorry, my fault, I should have made myself patently obvious.
>
>
> Setting LC_CTYPE, LANG, C, etc do not make a difference displaying
> 8-bit characters in gnome-terminal (v2.0.1) on RH8.
>
>
> Is this any clearer???
oh. (It would be nice if gnome-terminal's ostensible maintainers followed
the mailing lists where their program is used). I have an impression (am
not online to verify this) that it's attempting to use UTF-8 if the system
is setup that way. If it had documentation, I'd suggest reading that.
Anyway, it it's trying to do UTF-8, that would explain why 8-bit (codes
128-255) characters don't display as expected in response to setting
LANG to an ISO-8859-x locale.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net