Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jul 1996 13:55:01 +0900
From:      =?ISO-2022-JP?B?GyRCRURDZkh+SmY7UhsoQg==?= <mihoko@pa.yokogawa.co.jp>
To:        freebsd-hackers@freebsd.org
Cc:        XFree86@XFree86.Org, kimura@pa.yokogawa.co.jp
Subject:   LC_CTYPE & XwcDrawString() trouble in FreeBSD-2.1.0R
Message-ID:  <199607160455.NAA02779@sapphire.pa.yokogawa.co.jp>

next in thread | raw e-mail | index | archive | help

Hello All,

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.

That is, X Library uses EUC code but FreeBSD does not use EUC code.
I found the following description in
/usr/src/usr.bin/mklocale/data/lt_LN.ISO_8859-1:

   /*
    * Standard LOCALE_CTYPE for the iso_8859_1 Locale
    */
   ENCODING        "NONE"
   VARIABLE        ISO 8859-1 Latin-1 character set

How is it about the following changes of LC_CTYPE data ?

   ENCODING        "EUC"
   VARIABLE        1 0x0000 1 0x8080 0 0x0080 0 0x8000 0x8080


Please give me some good advices.
Thank you in advance.

--
Mihoko Tanaka
<mihoko@pa.yokogawa.co.jp>





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607160455.NAA02779>