Re: chinese support glitches?



在2004年03月06日的00:57,Kouhei Sutou写道:
Please tell me how to setting fcitx. I want to try it.
In your .xinitrc file:
export LANG="zh_CN.gbk"  #you probably need to run "dpkg-reconfigure"
locales and have this locale generated
export LC_ALL="zh_CN.gbk"
export XMODIFIERS= im=fcitx
fcitx &
exec gnome-session #replace with your wm of choice

Press Ctrl + Space to activate it (you need to have installed simplified
chinese fonts installed)

You can only put the following to your ~/.xsession.

  export LANG="zh_CN" # ? I don't know
  export GTK_IM_MODULE="uim-py"  # or uim-pyunihan
  export XMODIFIERS="@im=uim-py" # or @im=uim-pyunihan
  uim-xim &

Then you can activate uim by Shift + Space.

Tried but doesn't work. Actually when I run uim-xim from the command
line, it says "UIM-XIM bridge. Now only supports Japanese.", and the
registered @ims are all japanese without mentioning uim-py; maybe that's
the reason it doesn't work? (I changed the above encoding to zh_CN.gbk).

know how to use it; Even if I get uim to work, it doesn't support the
input method I'm used to, so I give tring to using uim;

What is this?
# I don't know how to input Chinese.

Well, there are various input methods, say py probably means pinyin,
which works by inputing the pronouncation of the characters, and quite a
few other chinese input methods use the strokes of Kanji.

3. Now a simple question: do I have to use a XIM that supports gtk+'s
immodule to input chinese charaters (possibly other languages that use
XIM as well)onto dia's canvas? If that's true, is it a bug; as I can

No. I can input Japanese by using kinput2 which doesn't
support gtk+'s immodule.

You may need selecting input method by right-click.
uim-xim doesn't seem to work so can't really try with dia. and I did
select the input method (I selected XIM and Default) and to no avail.


4. Not only DiaText has this issue, but dia other objects (e.g. UML ->
Small Package) that require to type characters directly onto the canvas.
So even if your patch works with text, you may have to produce a patch
for each of this kind of objects.

No. UML -> Small Package uses Text.

That's good.


Joseph





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]