avidyalalala / sunpinyin

Automatically exported from code.google.com/p/sunpinyin
0 stars 0 forks source link

能在 xsunpinyin 中允许GBK吗? #135

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. 执行 xsunpinyin

What is the expected output? What do you see instead?
Can't use xim server with codeset GBK.

What version of the product are you using? On what operating system?
2.0.1, xsunpinyin

据说以前可以的,但现在不致于在代码里禁掉吧。

Original issue reported on code.google.com by solo.l...@gmail.com on 3 Jun 2010 at 7:55

GoogleCodeExporter commented 9 years ago

Original comment by find...@gmail.com on 4 Jun 2010 at 3:59

GoogleCodeExporter commented 9 years ago
理论上,非utf8的locale是有可能无法激活xim server的。
所以gbk的locale是没有保障的。

我会将return -1改成一个警告消息,但是,gbk 
locale的确是不支持的,建议所有中文用户改成utf-8的locale。

Original comment by mikeandm...@gmail.com on 4 Jun 2010 at 6:12

GoogleCodeExporter commented 9 years ago

Original comment by mikeandm...@gmail.com on 13 Jul 2010 at 8:25