From owner-freebsd-questions Mon Jun 3 5:29:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from richard.eu.org (adsl-213-190-48-185.takas.lt [213.190.48.185]) by hub.freebsd.org (Postfix) with ESMTP id ACC5E37B404 for ; Mon, 3 Jun 2002 05:29:18 -0700 (PDT) Received: from richard.eu.org (localhost [127.0.0.1]) by richard.eu.org (8.12.3/8.12.3) with ESMTP id g538Ijln028495 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Mon, 3 Jun 2002 10:18:46 +0200 (EET) (envelope-from rch@richard.eu.org) Received: (from rch@localhost) by richard.eu.org (8.12.3/8.12.3/Submit) id g538IiPK028494 for freebsd-questions@FreeBSD.ORG; Mon, 3 Jun 2002 10:18:44 +0200 (EET) Date: Mon, 3 Jun 2002 10:18:44 +0200 From: Richard =?utf-8?B?xIxlcGFz?= To: freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD and UTF-8 Message-ID: <20020603081844.GC24379@richard.eu.org> References: <20020603033909.50762524.jylefort@brutele.be> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20020603033909.50762524.jylefort@brutele.be> User-Agent: Mutt/1.5.0i X-OS: FreeBSD 4.6-RC i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon Jun 3 03:39:09 2002 +0200 Jean-Yves Lefort wrote: >Hi all, Hi, > >What is the current status of UTF-8 support in FreeBSD? Bad. > >Some programs need to read the LANG and LC_* environment variables to >switch to UTF-8; if I use 'export LANG=en_US.UTF-8 && program', I get: >'Locale not supported by C library. Using the fallback 'C' locale.' You can generate utf2 (it is UTF-8) locale on your own using mklocale(1) and grep. setlocale() will not fail and gettext messages will be converted to utf-8 if you install recent version of gettext and tweak some config files. Little more than that. > >Is that locale supported in -CURRENT? As far as I know no, but I don't have current myself. > >Can I use UTF-8 encoding at the FreeBSD console? No. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message