Date: Thu, 18 Jul 1996 00:40:04 +0400 (MSD) From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (Andrey A. Chernov) <ache@nagual.ru> To: mihoko@pa.yokogawa.co.jp (=?ISO-2022-JP?B?GyRCRURDZkh+SmY7UhsoQg==?=) Cc: freebsd-hackers@freebsd.org, XFree86@XFree86.Org, kimura@pa.yokogawa.co.jp Subject: Re: LC_CTYPE & XwcDrawString() trouble in FreeBSD-2.1.0R Message-ID: <199607172040.AAA02479@nagual.ru> In-Reply-To: <199607160455.NAA02779@sapphire.pa.yokogawa.co.jp> from "[?ISO-2022-JP?]" at "Jul 16, 96 01:55:01 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> I'm using FreeBSD-2.1.0R and XFree86-3.1.2 on my PC. > I have a trouble about 'XwcDrawString()'. > > The 'XwcDrawString()' function of X library can not draw strings > under LANG=lt_LN.ISO_8859-1 environment. > > I think this problem according to the below reason. > The wide charactor representation of FreeBSD is differrent from that > of X11R6. Wide characters not needed to represent 8859-1, it seems that your problem is that XFree86-3.1.2 not have aliases for FreeBSD locale names, i.e., FreeBSD locale name is: lt_LN.ISO_8859-1 ^ while XFree86 locale name is lt_LN.ISO8859-1 It is the bug into /usr/X11R6/lib/X11/locale/locale.alias, add following lines to it: da_DK.ISO_8859-1 da_DK.ISO8859-1 de_AT.ISO_8859-1 de_AT.ISO8859-1 de_CH.ISO_8859-1 de_CH.ISO8859-1 de_DE.ISO_8859-1 de_DE.ISO8859-1 en_AU.ISO_8859-1 en_AU.ISO8859-1 en_CA.ISO_8859-1 en_CA.ISO8859-1 en_GB.ISO_8859-1 en_GB.ISO8859-1 en_US.ISO_8859-1 en_US.ISO8859-1 es_ES.ISO_8859-1 es_ES.ISO8859-1 fi_FI.ISO_8859-1 fi_FI.ISO8859-1 fr_BE.ISO_8859-1 fr_BE.ISO8859-1 fr_CA.ISO_8859-1 fr_CA.ISO8859-1 fr_CH.ISO_8859-1 fr_CH.ISO8859-1 fr_FR.ISO_8859-1 fr_FR.ISO8859-1 is_IS.ISO_8859-1 is_IS.ISO8859-1 it_CH.ISO_8859-1 it_CH.ISO8859-1 it_IT.ISO_8859-1 it_IT.ISO8859-1 nl_BE.ISO_8859-1 nl_BE.ISO8859-1 nl_NL.ISO_8859-1 nl_NL.ISO8859-1 no_NO.ISO_8859-1 no_NO.ISO8859-1 pt_PT.ISO_8859-1 pt_PT.ISO8859-1 sv_SE.ISO_8859-1 sv_SE.ISO8859-1 -- Andrey A. Chernov <ache@nagual.ru> http://www.nagual.ru/~ache/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607172040.AAA02479>