A DESCRIPTION OF THE PROBLEM :
TextField doesn't allow users to input Chinese and other non-ascii characters
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Write a TextFiled application and then run application on Linux
try to input Chinese or other non-ascii characters and it won't work
CUSTOMER SUBMITTED WORKAROUND :
Currently users could define a class implements InputMethodRequests
and then
textArea.setInputMethodRequests(new InputMethodRequestsImplementation());
textArea.setOnInputMethodTextChanges(event -> {
if(!event.getommitted().equals("")){
textArea.insertText(textArea.getCaretPosition(), event.getCommitted());
}
});
therefor we could input Chinese or other non-ascii characters there
without this piece of code it works on Windows & macOS
but it doesn't work on Linux
FREQUENCY : always
TextField doesn't allow users to input Chinese and other non-ascii characters
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Write a TextFiled application and then run application on Linux
try to input Chinese or other non-ascii characters and it won't work
CUSTOMER SUBMITTED WORKAROUND :
Currently users could define a class implements InputMethodRequests
and then
textArea.setInputMethodRequests(new InputMethodRequestsImplementation());
textArea.setOnInputMethodTextChanges(event -> {
if(!event.getommitted().equals("")){
textArea.insertText(textArea.getCaretPosition(), event.getCommitted());
}
});
therefor we could input Chinese or other non-ascii characters there
without this piece of code it works on Windows & macOS
but it doesn't work on Linux
FREQUENCY : always