From owner-freebsd-i18n Tue Nov 19 20: 7:54 2002 Delivered-To: freebsd-i18n@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B75537B401 for ; Tue, 19 Nov 2002 20:07:53 -0800 (PST) Received: from smtp02.iprimus.net.au (smtp02.iprimus.net.au [210.50.76.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 651FA43E42 for ; Tue, 19 Nov 2002 20:07:52 -0800 (PST) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au ([210.50.219.18]) by smtp02.iprimus.net.au with Microsoft SMTPSVC(5.0.2195.5600); Wed, 20 Nov 2002 15:07:50 +1100 Received: from dilbert.robbins.dropbear.id.au (6kmk8fq8qgp14yup@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.6/8.12.6) with ESMTP id gAK47JEi014158; Wed, 20 Nov 2002 15:07:40 +1100 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.6/8.12.6/Submit) id gAK46pFv014130; Wed, 20 Nov 2002 15:06:51 +1100 (EST) (envelope-from tim) Date: Wed, 20 Nov 2002 15:06:51 +1100 From: Tim Robbins To: Alexander Pohoyda Cc: Mike Makonnen , freebsd-i18n@FreeBSD.org Subject: Re: Creating new locales Message-ID: <20021120150651.A13502@dilbert.robbins.dropbear.id.au> References: <20021117041857.GA34284@matrix.identd.net> <87ptt19pwn.fsf@oak.pohoyda.family> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <87ptt19pwn.fsf@oak.pohoyda.family>; from alexander.pohoyda@gmx.net on Tue, Nov 19, 2002 at 11:05:12PM +0100 X-OriginalArrivalTime: 20 Nov 2002 04:07:50.0804 (UTC) FILETIME=[64825D40:01C2904A] Sender: owner-freebsd-i18n@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Nov 19, 2002 at 11:05:12PM +0100, Alexander Pohoyda wrote: > Mike Makonnen writes: > > > The charset encoding is utf8, so I created an LC_TYPE with a UTF2 > > encoding. And that's about as far as I have gone. > > UTF2 is a typo, isn't it? Did you mean LC_CTYPE ? A file in > /usr/share/locale/xxx.UTF-8 directory? UTF2 is an old name for what is now called UTF-8, and it is what you need to put in LC_CTYPE source files (/usr/src/share/mklocale/*.src) to get something which resembles UTF-8 on FreeBSD 4.7 and earlier. (-STABLE and -CURRENT have a proper UTF-8 encoding now, and UTF2 is being phased out) See this document: Rob Pike and Ken Thompson, "Hello World", Proceedings of the Winter 1993 USENIX Technical Conference, USENIX Association, January 1993. [http://www.cs.bell-labs.com/sys/doc/utf.pdf] "Our proposal, which was originally known informally as UTF-2 and FSS-UTF, is now referred to as UTF-8 and has been approved by ISO to become Annex P to ISO 10646." Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-i18n" in the body of the message