Date: Tue, 14 Jul 2009 17:55:13 +0200 From: Ed Schouten <ed@80386.nl> To: Franck Royer <royerfranck@free.fr> Cc: freebsd-current@freebsd.org Subject: UTF-8 on 8.0-CURRENT: Yes We Can! Message-ID: <20090714155513.GO48776@hoeg.nl> In-Reply-To: <4A5C9CE2.6060801@free.fr> References: <4A5C9CE2.6060801@free.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
--pkFmbaTizs5wxZX9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Franck, * Franck Royer <royerfranck@free.fr> wrote: > I wanna know where is the development of the support of utf-8 locale on > the current branch. Can we use it or it still considering highly > experimental ? Is there any specific port to install or a standard > configuration is enough ? >=20 > Or did I misunderstand that Freebsd will support native utf-8 ? FreeBSD already supports UTF-8 when using X11, etc. The console driver is restricted to 8-bit character sets. When you use FreeBSD HEAD/8.0, you can add the following to your kernel config: options TEKEN_UTF8 options TEKEN_XTERM After that, be sure to replace `cons25' with `xterm' in /etc/ttys. This will allow you to use UTF-8 on the console. The kernel will use a table to remap all Unicode characters to CP437 (the default VGA font), so it's practically useless. I actually wanted to announce this in a couple of days from now, but I guess there's no harm in mentioning it already. As of last week I'm working on a new console driver in the newcons branch in our Perforce repository. Because I'm using VGA graphics mode, it's fairly easy to support Unicode. It will probably still take a very long time before it's finished, but I can already show you this screenshot I made the other day: http://www.il.fontys.nl/~ed/freebsd-vt-unicode.png It's a screenshot of FreeBSD with my console driver, displaying this file: http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt I hope you like it. ;-) --=20 Ed Schouten <ed@80386.nl> WWW: http://80386.nl/ --pkFmbaTizs5wxZX9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkpcqmEACgkQ52SDGA2eCwW+mgCfTSKLPoZgoSunBy/cZ/fOa4p8 zlYAn2mLE+8dUEVmxtB7rO129qwqjbsR =a5Z+ -----END PGP SIGNATURE----- --pkFmbaTizs5wxZX9--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090714155513.GO48776>