Java Robot class press Turkish letter (Ö, ö, Ş, ş, Ü, ü, Ğ, ğ, İ, ı, Ç, ç, Ə, ə)?
I have problem with press a special letter (Turkish etc.) via java robot class. I hava a method to press keys which works as alt+keycode. I cant convert some special letters to current keycode. So how can I solve it. Thanx For Example: KeyStroke ks = KeyStroke.getKeyStroke('ö', 0); System.out.println(ks.getKeyCode()); Output : 246 // So alt+0246='ö' //but if I convert 'ş' to keycode //Output is 351 . So alt+351= '_' and alt+0351= '_' //What is the Correct combination for 'ş'. same for 'Ş', 'ş','Ğ', 'ğ', 'İ', 'ı', 'Ə', 'ə' KeyPress: public void altNumpad(int... numpadCodes) { if (numpadCodes