From owner-freebsd-hackers Mon Mar 24 09:37:11 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA20481 for hackers-outgoing; Mon, 24 Mar 1997 09:37:11 -0800 (PST) Received: from sovcom.kiae.su (sovcom.kiae.su [193.125.152.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id JAA20471 for ; Mon, 24 Mar 1997 09:37:07 -0800 (PST) Received: by sovcom.kiae.su id AA23388 (5.65.kiae-1 ); Mon, 24 Mar 1997 20:00:39 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Mon, 24 Mar 97 20:00:38 +0300 Received: (from ache@localhost) by nagual.ru (8.8.5/8.8.5) id UAA04368; Mon, 24 Mar 1997 20:00:13 +0300 (MSK) Date: Mon, 24 Mar 1997 20:00:10 +0300 (MSK) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= To: John Fieber Cc: junker@jazz.snu.ac.kr, freebsd-hackers@FreeBSD.ORG Subject: Re: EUC locales and XF86 3.2 for 2.2R? In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 24 Mar 1997, John Fieber wrote: > I'm just getting my feet wet in the FreeBSD l10n/i18n stuff, but > I have discovered that to use an EUC or UTF locale, you must link > with -lxpg4. Digging through the mailing list archives, I found > a some messages the decision was made to remove >8-bit locale > support from libc, but I didn't follow up and find the discussion > of why. Could anyone involved in the decision provide a quick > summary? Most of applications use 8bit wide characters now, so they are almost ready (with minimal modifications) to be POSIXly localized if locale is 8bits wide too. It means that standard FreeBSD localized programs can't work with 16bit wide chars/locale in any case, because they require major rewritting to support such characters. You can add -lxpg4 legally only if you are sure that your program support 16bit wide characters. If amount of 16bit wide programs will be bigger than amount of 8bit wide programs, we can make xpg4 mode as default and use something like -l8bit for 8bit wide programs. -- Andrey A. Chernov http://www.nagual.ru/~ache/