Date: Wed, 16 Jun 2010 15:45:30 +0200 From: Ed Schouten <ed@80386.nl> To: Anton Shterenlikht <mexas@bristol.ac.uk> Cc: freebsd-current@freebsd.org Subject: Re: how to set up UTF8 russian in -current? Message-ID: <20100616134530.GX1797@hoeg.nl> In-Reply-To: <20100616131503.GA77642@mech-cluster241.men.bris.ac.uk> References: <20100616131503.GA77642@mech-cluster241.men.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--szlDyXxWT551m6yh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Anton Shterenlikht <mexas@bristol.ac.uk> wrote: > My system is amd64 r209195. >=20 > I was wondering if the user localisation > section of the handbook is a bit out of date: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-localizat= ion.html >=20 > The handbook suggests using cons25r, whereas > the default console type in /etc/ttys is now xterm. > And keeping cons25r together with relevant fonts, > screenmap and keymap in /etc/rc.conf doesn't seem > to work anymore. >=20 > Also, the latest I can find on UTF8 in FreeBSD > is this thread: > http://lists.freebsd.org/pipermail/freebsd-current/2009-July/009349.html >=20 > I tried to follow the advice given in this thread, > namely I've rebuilt the kernel with TEKEN_UTF8 > (it seems the other option mentioned, TEKEN_XTERM, is no > longer valid), and set LC_CTYPE=3Dru_RU.UTF-8 > in my shell. This didn't seem to have any effect. Even though UTF-8 support for the console is closer than it used to be, it's still not useful in practice, since syscons won't display it. I guess if you want to get Russian working on HEAD, you should do the following: - Don't set TEKEN_* in your kernel configuration file. - Just use the xterm terminal type in /etc/ttys. - Set LC_CTYPE=3Dru_RU.{CP1251,CP866,ISO8859-5,KOI8-R}. - Load a font for Syscons which uses the same character as the one you chose above. So this means 8-bit character sets is the best thing we can do right now. --=20 Ed Schouten <ed@80386.nl> WWW: http://80386.nl/ --szlDyXxWT551m6yh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwY1XoACgkQ52SDGA2eCwX07ACcCWbz9Lnwj0+9eKiLwkjcc+q/ 4+YAn3Z0O5u06JFTHiDceohFqNx+j0bl =LRpL -----END PGP SIGNATURE----- --szlDyXxWT551m6yh--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100616134530.GX1797>