Dinesh966 / jnativehook

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

Czech special characters #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Czech special characters can be written as a combination of more than one 
keyboard key i.e.: shift+ˇ and after that s -> letter 'š'. It normally works 
that the combination shift+ˇ is "buffered" and when you press i.e. c, s, e, 
you get č, š, ě,...It seems that your lib takes these key events before 
correct usage and therefore it's impossible to use czech keyboard normally on 
win7 64bit.

What is the expected output? What do you see instead?
expected output is š. I see ˇs.

What version of the product are you using? On what operating system?
1.1.0_rc2, win7 64bit

Original issue reported on code.google.com by jirkafr...@gmail.com on 28 May 2012 at 12:07

GoogleCodeExporter commented 8 years ago

Original comment by alex%1st...@gtempaccount.com on 28 May 2012 at 5:17

GoogleCodeExporter commented 8 years ago
I found a bug in the way that key char's are looked up on windows that was 
causing problems with all languages.  I have attached a binary that includes 
this fix and a fix.  Please let me know if that solves the problem.

Thanks

Original comment by alex%1st...@gtempaccount.com on 28 May 2012 at 9:23

Attachments:

GoogleCodeExporter commented 8 years ago
The reported problem isn't still solved. Combination of "shift+ˇ" and "c" 
causes output string "ˇˇc" instead of letter č.

Original comment by jirkafr...@gmail.com on 29 May 2012 at 9:17

GoogleCodeExporter commented 8 years ago
When you say shift+ˇ what key is the 'ˇ'?  I am using the following diagram 
to try and reproduce the problem:  
http://en.wikipedia.org/wiki/File:Qwerty_cz.svg   Is the 'ˇ' key 2 to the left 
of the backspace?  I will dig into it further tonight.

Original comment by alex%1st...@gtempaccount.com on 29 May 2012 at 4:50

GoogleCodeExporter commented 8 years ago
Yes, it is. Another combination is shift+' and "i" causes output string ''i 
instead of letter í. ' is key 1 to the left of backspace.

Original comment by jirkafr...@gmail.com on 30 May 2012 at 8:07

GoogleCodeExporter commented 8 years ago
I have tracked this problem down to the way that ToUnicode works on windows.  
Apparently it doesn't quite do what it should.  I am working on a fix and hope 
to have it in the trunk this weekend.

Original comment by alex%1st...@gtempaccount.com on 15 Jun 2012 at 8:39

GoogleCodeExporter commented 8 years ago
Should be fixed in the trunk as of revision 555.

Original comment by alex%1st...@gtempaccount.com on 2 Jul 2012 at 3:20

GoogleCodeExporter commented 8 years ago
Issue 15 has been merged into this issue.

Original comment by alex%1st...@gtempaccount.com on 6 Jul 2012 at 6:00