From owner-freebsd-i18n Mon Nov 27 21:27:13 2000 Delivered-To: freebsd-i18n@freebsd.org Received: from coconut.itojun.org (coconut.itojun.org [210.160.95.97]) by hub.freebsd.org (Postfix) with ESMTP id 4EB1137B4F9 for ; Mon, 27 Nov 2000 21:27:10 -0800 (PST) Received: from kiwi.itojun.org (localhost.itojun.org [127.0.0.1]) by coconut.itojun.org (8.9.3+3.2W/3.7W) with ESMTP id OAA14894; Tue, 28 Nov 2000 14:26:57 +0900 (JST) To: "Michael C . Wu" Cc: freebsd-i18n@freebsd.org In-reply-to: keichii's message of Mon, 27 Nov 2000 23:18:26 CST. <20001127231826.A7425@peorth.iteration.net> X-Template-Reply-To: itojun@itojun.org X-Template-Return-Receipt-To: itojun@itojun.org X-PGP-Fingerprint: F8 24 B4 2C 8C 98 57 FD 90 5F B4 60 79 54 16 E2 Subject: Re: NetBSD libintl, import of CITRUS * From: itojun@iijlab.net Date: Tue, 28 Nov 2000 14:26:57 +0900 Message-ID: <14892.975389217@coconut.itojun.org> Sender: owner-freebsd-i18n@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >How about just libc and includes? (i.e. wchar.h and related stuff) that is a bit early to integrate libc locale (LC_CTYPE) part. i won't stop you, but it will be a major amount of work, regarding to backward compatibility issues - i'm not 100% sure about freebsd binary backward compatibility requirement between releases, but it won't be pretty if you break existing binaries. you just need to be careful. also, we need a better integration with other locale handlers (LC_COLLATE, LC_TIME and others), and CITRUS-friendly iconv(3). >Regarding BSDL gettext, is it "finalized?" not really. libintl (gettext) works just like GNU gettext, so it works as GNU gettext replacement. however, our goal is much more complete system - we don't want to hardcode our library to certain locale. current gettext library (both GNU and CITRUS) assumes that you are using single encoding for setlocale(3) and the message catalog file. for example, if your $LANG equals to ko_KR.eucKR, message catalog file must be encoded in euc-kr. we would like to make them more independent (like allowing ksc5601 catalog file). look for /*XXX*/ comments in libintl source code. itojun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-i18n" in the body of the message