From owner-freebsd-questions@FreeBSD.ORG Sun Dec 17 18:58:42 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DFE8016A492 for ; Sun, 17 Dec 2006 18:58:41 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2062143DB5 for ; Sun, 17 Dec 2006 18:56:54 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7]) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kBHIurQp031900 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 17 Dec 2006 10:56:54 -0800 X-Auth-Received: from [192.168.0.101] (dsl254-013-145.sea1.dsl.speakeasy.net [216.254.13.145]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kBHIurL7022493 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 17 Dec 2006 10:56:53 -0800 Message-ID: <458592F5.3050106@u.washington.edu> Date: Sun, 17 Dec 2006 10:56:53 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.8 (X11/20061217) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <45835661.5060402@u.washington.edu> <45836BE4.7010306@u.washington.edu> <17795.31520.75174.70348@jerusalem.litteratus.org> <20061216110405.5bfc244b@direwolf.5550h.net> <8b4c81f0612161610scc77444t7457a12e6b2caa3a@mail.gmail.com> <20061217091908.GA575@host.my.domain> In-Reply-To: <20061217091908.GA575@host.my.domain> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.12.17.103932 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __LINES_OF_YELLING 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: Unicode support on FreeBSD 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: Sun, 17 Dec 2006 18:58:42 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 a@zeos.net wrote: > CONSOLE > > As we know, the console drivers atkbd and sc do not support unicode > (in contrast to linux console drivers, for example). > So we have to use programs able to translate unicode to a single byte > code table. I use my PC successfully in such a manner. > > X > > You should set LC_CTYPE to ru_RU.UTF-8 (for russian) before running > X programs, and you should have correct unicode support. > I have the next line in .xinitrc: > env LC_CTYPE=ru_RU.UTF-8 twm > And I have no problem with X programs for years. > > Elisej Babenko > > > On Sat, Dec 16, 2006 at 10:10:08PM -0200, Henry Lenzi wrote: >> On 12/16/06, ?$BJ8D; wrote: >>>> It's worth noting that while this solution may work, it's an >>>> add-on. >>>> The question of Unicode is complex; you should check for >>>> relevant threads in the questions@ and i18n@ archives. >>> I am using FreeBSD 6.1. with locale set to ja_JP.UTF-8 >> I'm sorry, I'm not following this discussion. To get Unicode support, >> I should set my system to ja_JP.UTF8?! >> My problem is cyrillic fonts; any help is aprreciated. >> >> Henry >> >> PS: Oh, and don't write back to me in Russian, please. I'm not there yet :-)) Funny how my thread sort of got hijacked.. hehe. Anyhow, X11 apps are working perfectly fine, but rendering Japanese text in xterm isn't working like it was under Gentoo. Time to install some fonts I suppose or look into adding Japanese support for xterm. uim/anthy isn't working 100% yet, but I'll force it to work sometime soon :). As for setting locales, you have to do it in whatever file you use to pull in for starting X11, ~/.xinitrc, ~/.Xsession, etc. My .xinitrc: export GTK_IM_MODULE=uim; export XMODIFIERS=@im=uim; export UIM_CANDWIN_PROG=uim-candwin-gtk; xmodmap -e "pointer = 1 2 3 4 5 6 7 8 9" & imwheel -f -k -p -b "67" & uim-toolbar-gtk-systray & exec xfce4-session xscreensaver -no-splash & - -Garrett -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFhZL0EnKyINQw/HARAoUdAJwN22ltxoHHK1aS96+tClnzlH09vQCglIW6 vZdo8c7M7GuqVNN7R/mTILQ= =QZBS -----END PGP SIGNATURE-----