Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 2006 10:56:53 -0800
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: Unicode support on FreeBSD
Message-ID:  <458592F5.3050106@u.washington.edu>
In-Reply-To: <20061217091908.GA575@host.my.domain>
References:  <45835661.5060402@u.washington.edu>	<f84c38580612151936k7a78e361x39d562dc2ad805b9@mail.gmail.com>	<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>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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; <bunchou@googlemail.com> 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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?458592F5.3050106>