Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How can I input Latin letters with macron using keyboard layout that uses tilde or apostrophe deadke

2890941Feb 25 2015 — edited Mar 9 2015

I can not enter Latin letters with macron (Latvian specific characters) in JavaFX programs. Instead something like Latin letters with acute are entered.

what I need to enter is characters like this: Latin letter "a" with macron

Browser Test Page for Unicode Character 'LATIN SMALL LETTER A WITH MACRON' (U+0101)

what is actually entered: Latin letter "a" with acute

Browser Test Page for Unicode Character 'LATIN SMALL LETTER A WITH ACUTE' (U+00E1)

There are several keyboard layouts available for Latvian language input. Problem persists only on Windows OS for layouts using tilde key or apostrophe key as deadkeys. There are no problems with Microsoft Latvian (QWERTY) layout that uses ALTGR key as deadkey. There are also no problems on Linux OS using keyboard layouts that causes problems in Windows OS. I also noticed that character input works as expected int SceneBuilder 2.0 (I believe it has been build with javaFX). There are no problems also in java Swing GUI framework. So could this be a bug in JavaFX or am I missing some configuration settings?

I have also asked this question in stackoverflow, but no one seams to have the answer, not a single comment.

locale - JavaFX - 8 How can I enter latin letters with macron using keyboard layout that uses tilde deadkey? - Stack Ove…

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 6 2015
Added on Feb 25 2015
3 comments
1,163 views