From owner-freebsd-hackers Mon Jul 15 21:55:34 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA03083 for hackers-outgoing; Mon, 15 Jul 1996 21:55:34 -0700 (PDT) Received: from yokogawa.co.jp (yhqfm.yokogawa.co.jp [202.33.29.34]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id VAA03047 for ; Mon, 15 Jul 1996 21:55:24 -0700 (PDT) Received: from sjc.yokogawa.co.jp.yokogawa.co.jp ([133.140.4.100]) by yokogawa.co.jp (8.6.9+2.4Wb3/3.3Wb4-firewall:08/09/94) with ESMTP id NAA15216; Tue, 16 Jul 1996 13:55:05 +0900 Received: from leia.pa.yokogawa.co.jp by sjc.yokogawa.co.jp.yokogawa.co.jp (8.7.1+2.6Wbeta4/6.4J.6-YOKOGAWA-R/GW) id NAA19480; Tue, 16 Jul 1996 13:55:04 +0900 (JST) Received: from sapphire by leia.pa.yokogawa.co.jp (1.38.193.4/6.4J.6-YOKOGAWA/pa) id AA08583; Tue, 16 Jul 1996 13:55:03 +0900 Received: from localhost by sapphire.pa.yokogawa.co.jp (8.6.12/3.3Wb) id NAA02779; Tue, 16 Jul 1996 13:55:02 +0900 Message-Id: <199607160455.NAA02779@sapphire.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 From: =?ISO-2022-JP?B?GyRCRURDZkh+SmY7UhsoQg==?= X-Mailer: Mew version 1.06 on Emacs 19.28.2, Mule 2.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Tue, 16 Jul 1996 13:55:01 +0900 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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