1 year ago

#71632

test-img

Nadirspam

Javafx webview don't work properly with arabic characters

When I switch from Azul Zulu jdk (that has Javafx) to Amazon Corretto Jdk, the WebView instead of showing the string "عربي" it shows a series of vertical rectangles ▯▯▯▯▯▯. My line of code is :

webView.getEngine().loadContent("عربي");

I tried to add : <meta charset="utf-8"/> to my string without success.

How can I fix this?

java

javafx

javafx-webengine

0 Answers

Your Answer

Accepted video resources