'JavaFX 8 HTMLeditor cannot show 4-byte unicode characters

I added a HTMLeditor in my JavaFX 8 program: I need to display some 4-byte unicode characters in it.

@FXML
private HTMLEditor htmlEditor;

@FXML
void initialize() {

    htmlEditor.setHtmlText("<html><head><meta charset=\"UTF-8\"></head><body>𡖖</body></html>");

}

And this is the result:

enter image description here

I do the same in JavaFX WebView and the result is the same. Is there any way to show the 4-byte unicode characters correctly? Thanks.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source