avatar
How to input chinese in cxterm?# Unix - 噫吁兮,危乎高哉
o*c
1
I read all the old posts, but no answer is found.
The symptom of the problem is that viewing chinese is
no question, but input is totally messed up. I even
checked the problem is that the highest bit of input
is masked to zero -- only seven bit input.
I have already changed the resource for cxterm
cxterm*eightBitInput: true
but it doesn't help.
I guess maybe it's because the os filter the input bit,
and it has nothing to do with the cxterm itself.
By the way, my machine is
Machine hard
avatar
f*r
2
there are lot of input methods.
you just need simply to push F6, F5, ....
for english you need to push shift+F1


【在 o*****c 的大作中提到】
: I read all the old posts, but no answer is found.
: The symptom of the problem is that viewing chinese is
: no question, but input is totally messed up. I even
: checked the problem is that the highest bit of input
: is masked to zero -- only seven bit input.
: I have already changed the resource for cxterm
: cxterm*eightBitInput: true
: but it doesn't help.
: I guess maybe it's because the os filter the input bit,
: and it has nothing to do with the cxterm itself.

avatar
o*c
3
It's not about the input method at all. The
problem is that the input bytes are truncated.
Say any chinese will result in two ascii on
my screen. And I wrote a program and found if
the highest bit is set to 1 in these two
ascii, then they ended up with the chinese
char I am looking for.

【在 f***r 的大作中提到】
: there are lot of input methods.
: you just need simply to push F6, F5, ....
: for english you need to push shift+F1
:

avatar
t*c
4
where did you input chinese?

【在 o*****c 的大作中提到】
: It's not about the input method at all. The
: problem is that the input bytes are truncated.
: Say any chinese will result in two ascii on
: my screen. And I wrote a program and found if
: the highest bit is set to 1 in these two
: ascii, then they ended up with the chinese
: char I am looking for.

avatar
o*c
5
I did it just in cxterm. All input methods can be
set, but seems the input bytes are wrong then.
By the way, the weird part is that only ONE guy in
our department can use cxterm to input chinese!
Really he can do it. But no matter how we copy his
environment setting, it doesn't work. I copied all
his system files, even though in common sense, some
of them have nothing to do with the X-windows.

【在 t**c 的大作中提到】
: where did you input chinese?
avatar
j*e
6
Don't ask me why. But do you have the permission in your home directory
as his?

【在 o*****c 的大作中提到】
: I did it just in cxterm. All input methods can be
: set, but seems the input bytes are wrong then.
: By the way, the weird part is that only ONE guy in
: our department can use cxterm to input chinese!
: Really he can do it. But no matter how we copy his
: environment setting, it doesn't work. I copied all
: his system files, even though in common sense, some
: of them have nothing to do with the X-windows.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。