Date: Fri, 11 Dec 1998 22:30:48 +1100 From: David Dawes <dawes@rf900.physics.usyd.edu.au> To: Igor Lidin <guardian@relis.ru>, current@FreeBSD.ORG Cc: questions@FreeBSD.ORG Subject: Re: xterm input is in cp866, not in koi8-r Message-ID: <19981211223048.K6124@rf900.physics.usyd.edu.au> In-Reply-To: <002401be24f3$0e58b520$5c987dc1@lightning.relcom.ru>; from Igor Lidin on Fri, Dec 11, 1998 at 01:43:14PM %2B0300 References: <002401be24f3$0e58b520$5c987dc1@lightning.relcom.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 11, 1998 at 01:43:14PM +0300, Igor Lidin wrote: >Can anyone help me? > >Environment: >FreeBSD 3.0-Current as of 1 Dec 1998 >XFree86 3.3.3 built from ports collection as of 4 Dec 1998 >/ports/russian/X.language port installed > >I have LANG and MM_CHARSET environment variables >set to ru_RU.KOI8-R. Russian fonts are first in my FontPath. There is a bug in the 3.3.3 Xlib code that results in an iso8859-6 table being used instead of the koi8-r table. Here's the fix. Let me know if it helps. David -- --- imConv.c 1998/10/21 06:40:38 1.5.2.5 +++ xc/lib/X11/imConv.c 1998/12/06 05:40:33 1.5.2.6 @@ -429,7 +429,7 @@ #endif {sUTF8, "utf8", "\033%B"}, /* Non-standard */ - {sCyrillic, "KOI8-R", "\033%/1\200\210koi8-r\002"}, + {sKoi8, "KOI8-R", "\033%/1\200\210koi8-r\002"}, {sLatin9, "ISO8859-15", "\033%/1\200\213iso8859-15\002"},/* a.k.a. Latin-0 */ }; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981211223048.K6124>