Chinese input occasionally goes wrong
Moderators: Hacker, petermad, Stefan2, white
Chinese input occasionally goes wrong
Windows XP SP3 with Google Pinyin 1.2.32.78.
As I try to type "开国" (with Google Pinyin) into the "Search for" field, only "国" appears. As far as I've tested, some other editables have the same problem, e.g. "Search in", "FTP New Connection", and the command line. "New text file" (Shift+F4) and "FTP: connection details" are OK.
As I try to type "开国" (with Google Pinyin) into the "Search for" field, only "国" appears. As far as I've tested, some other editables have the same problem, e.g. "Search in", "FTP New Connection", and the command line. "New text file" (Shift+F4) and "FTP: connection details" are OK.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Total Commander uses normal Unicode edit controls here, nothing special. I assume that Google Pinyin cannot handle Ansi programs with some Unicode windows.
Btw, do you get the same problem in inplace rename (Shift+F6)? This was a Unicode control already in TC 7.04a, so you may get the same problem there too...
Btw, do you get the same problem in inplace rename (Shift+F6)? This was a Unicode control already in TC 7.04a, so you may get the same problem there too...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
No, Shift+F6 works fine for me.ghisler(Author) wrote:Btw, do you get the same problem in inplace rename (Shift+F6)? This was a Unicode control already in TC 7.04a, so you may get the same problem there too...
In fact it's the single character "开" that can't be accepted, not the combination "开国".
Last edited by yyang on 2009-04-20, 09:53 UTC, edited 1 time in total.
I've tested it again on a clean Windows 2000 with SP4 inside VirtualBox 2.2.0. 7.04a works all OK, and 7.50beta has exactly the same problem.ghisler(Author) wrote:This was a Unicode control already in TC 7.04a, so you may get the same problem there too...
Actually it's the first apparent bug I've come across in years of enjoyment!

Last edited by yyang on 2009-04-20, 09:54 UTC, edited 1 time in total.
You are right. Copy & paste works perfectly. I forgot to mention that.yeskky wrote:Strange on my computer.I can search "开国" with Chinese IME but I can not create a folder with name "开国" using Chinese IME.After typing "开" nothing shows in the textfield.If I type "开国" as a word only "国" shows.
But copy "开国" and paste to New Folder dialog works.
After a little exploration I find that all (as far as I've tested, of course) "good" editables have an extended style 0x00000200 (WS_EX_CLIENTEDGE) and the "bad" ones don't. This alone seems unlikely to make any difference, but hope it can help.ghisler(Author) wrote:Total Commander uses normal Unicode edit controls here, nothing special

Last edited by yyang on 2009-04-20, 19:46 UTC, edited 1 time in total.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks, that's interesting!
Can you describe how to create “开” character with Chinese IME? What keys do I need to press to make it work? I need to know to reproduce the problem...
Can you describe how to create “开” character with Chinese IME? What keys do I need to press to make it work? I need to know to reproduce the problem...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I could reproduce and fix the problem now, thanks for your help! It's happening in all comboboxes, but edit boxes are OK. The problem was caused by internal Delphi message handling. The problem happens with Unicode characters where the lower byte is zero.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Fabulous! You are my hero.ghisler(Author) wrote:I could reproduce and fix the problem now, thanks for your help! It's happening in all comboboxes, but edit boxes are OK. The problem was caused by internal Delphi message handling. The problem happens with Unicode characters where the lower byte is zero.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Great, thanks for checking it!
To yyang:
Can you confirm it too, please?
To yyang:
Can you confirm it too, please?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com