On 17/10/15 07:12, Niels Kobschaetzki wrote:
On 17/10/15 06:41, Niels Kobschaetzki wrote:
Hi,

I am trying to get Japanese input working in xterm but I just cannot get
it to work. It works in xfce4-terminal though.

I have in my .profile and my .xsession:
export LANG=en_US.UTF-8
export LC_NUMERIC=de_DE.UTF-8
export LC_TIME=de_DE.UTF-8
export LC_MONETARY=de_DE.UTF-8
export LC_PAPER=de_DE.UTF-8
export LC_NAME=de_DE.UTF-8
export LC_ADDRESS=de_DE.UTF-8
export LC_TELEPHONE=de_DE.UTF-8
export LC_MEASUREMENT=de_DE.UTF-8
export LC_IDENTIFICATION=de_DE.UTF-8
export LC_CTYPE=en_US.UTF-8

export GTK_IM_MODULE=ibus
export XMODIFIERS="@im=ibus" xterm
export QT_IM_MODULE=ibus

I am not sure though what exactly is necessary now because I tried now a
lot to get it working.

In my .Xdefaults I have:
XTerm*faceName: Terminess Powerline:style=Medium
XTerm*faceSize: 13
xterm*faceNameDoublesize: Sazanami Mincho
XTerm*utf8: true
XTerm*locale: utf8
XTerm*inputMethod: ibus

When I have ibus-anthy activated the pop over appears and I can type
Japanese but when I hit enter to place it, no characters appear. When I
want to open a japanese web page like https://www.asahi.com in lynx
there are only garbled characters (and w3m crashes).

A mail in Japanese appears correctly in mutt though.

What I am missing?

I got a bit further. When I start xterm with "xterm -cjk_width" it works
\o/

But setting "XTerm*cjkWidth: true" in .Xdefaults has no effect (yes, I
do a xrdb -merge .Xdefaults)

And now I found yet another issue. The moment I use
xterm*faceNameDoublesize the character "ü" breaks and the line-drawing
characters on the bottom of the index of mutt break as well

Niels

Reply via email to