My debian configuration is almost the same as yours as I apt-get udpate pretty frequently.
I tried to export locale to gbk or utf-8 respectively, so that the outputs from "locale" indicate everything is zh_CN.gbk or zh_CN.UTF-8; but neither works. The symptom is that I simply cann't activate XIM once in dia (of course I've tried various fonts such as SimSun, Arphic-Kaiti etc); I chose to insert some text, and it worked as long as I entered English characters, but when I pressed Ctrl + space, nothing happens? So I have two questions: 1. Is there anything special to be done before using dia with simplified chinese? (as it's a gtk2 program, I don't think so; and I can use chinese with other gtk2 based programs) 2. What's the possible cause for my problem? I really appreciate any help/comments. Yao Heling 在2004年03月04日的04:34,Ming Hua写道: > On Thu, Mar 04, 2004 at 12:42:42AM +0800, Yao Heling wrote: > > I'm using Dia 0.92.2-3 on debian/unstable. I find it impossible to input > > chinese into dia. I remember I could input chinese in the past, but the > > font sizes were huge. Does the current version of dia support chinese at > > all? > > I am using the same Dia version in sid, and it works fine here. Are you > sure you have been in the correct locale (LC_CTYPE), and have chosen a > valid Chinese font? > > For the record: > kernel 2.4.25-1-k7 > XFree86 4.3.0-2 (using freetype module, without xfs) > FreeType 2.1.7-2 > Dia 0.92.2-3 > > Hope this helps, > Ming > 2004.03.03 > > -------------------------------------------------------------------------- > We used to think that if we know one, we know two, because one and one are > two. We are finding that we must learn a great deal more about ``and''

