From owner-freebsd-questions@FreeBSD.ORG Thu Mar 16 10:22:32 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 857D716A41F for ; Thu, 16 Mar 2006 10:22:32 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1485843D45 for ; Thu, 16 Mar 2006 10:22:31 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by zproxy.gmail.com with SMTP id 9so327441nzo for ; Thu, 16 Mar 2006 02:22:31 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=taPMNqQNSS9YGnSPUE8zLvAOq3aOqxN3lpdgdiRFRudXqbgOddpRZfKRrJxXSgLpmgCXolzEMdHHCOTSZ0kndwjfA2DxXQ5IOskmbVkZrNOHnZzX3zVbbWkfbHeH7NSHpVf9XtD+5BGuFrSLqS7fGB2as6RHP9szpQebf3JH1iU= Received: by 10.36.221.39 with SMTP id t39mr1760419nzg; Thu, 16 Mar 2006 02:22:31 -0800 (PST) Received: by 10.37.22.74 with HTTP; Thu, 16 Mar 2006 02:22:31 -0800 (PST) Message-ID: Date: Thu, 16 Mar 2006 13:22:31 +0300 From: "Andrew Pantyukhin" To: "Erik Norgaard" In-Reply-To: <44193105.5070204@locolomo.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <44193105.5070204@locolomo.org> Cc: questions@freebsd.org Subject: Re: Charactersets and encoding: switching from ISO-8859-1 to UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Mar 2006 10:22:32 -0000 On 3/16/06, Erik Norgaard wrote: > Hi: > > I have just installed a virgin system, FBSD 6.1-BETA3 and upgraded to > the head of RELENG_6. Since it is virgin, I thought this may be the time > to make the switch to UTF-8. > > Googling, it appears that UTF-8 was introduced in the base in 2004, but > I find no keymaps for UTF-8 console, no fonts, no console definition > in /etc/termcap. > > Is FreeBSD ready for UTF-8? > > Secondly, if I successfully switch, how do I best convert files to > UTF-8? One think is text files, I assume this should be simple, but then > there are all the other files such as music and images with text embedded= . > > I have understood that UTF-8 is compatible with ASCII but not with the > ISO character sets used in Europe. > > Thanks, Erik > > -- > Ph: +34.666334818 web: www.locolomo.org > S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt > Subject ID: 9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72 > Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > I wonder if you should google more on UTF-8 and its support in operating systems. For one thing, you won't get a unicode console, not on your traditional x86 hardware. It's easy to get UTF-8 support in X, though. Just set LANG, LC_ALL and some other variables (the more the better) to en_US.UTF-8 or whatever unicode locale you want. You'll have to recompile some ports with UTF8 support. Check their makefiles for that. Good luck!