Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 2006 10:56:53 -0800
From:      Garrett Cooper <>
Subject:   Re: Unicode support on FreeBSD
Message-ID:  <>
In-Reply-To: <>
References:  <>	<>	<>	<>	<>	<> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Hash: SHA1 wrote:
> 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
Version: GnuPG v1.4.6 (FreeBSD)
Comment: Using GnuPG with Mozilla -


Want to link to this message? Use this URL: <>