option tag After struggling with distorted text in my JavaFX TableView when using the Pyidaungsu font for Burmese text, I found that setting the -Dfile.encoding=UTF-8 option in my pom.xml using the <option> tag in the appropriate Maven plugin configuration which fixed the issue for me.