0
In many projects jsf
I don’t remember if I’ve ever had a problem like this but as the image below shows, the encoding is not correct. The problem is occurring in the java
because I have accented words on the page and everything is fine, in the debug I identified that right after he set the value of the text already messes up the characters. Anyone can help ?
JsfUtils.addWarnMessage("Atenção você deve selecionar o diretório primeiro!");
To use accented words the file encoding has to be in UTF-8.
– Vinicius Fernandes
Try to put this at the top of your xhtml file:
<?xml version='1.0' encoding='UTF-8' ?>
– Júlio César Baltazar
I already tried. But the problem is in java.
– Roknauta
It may be the IDE or Server you are using that has different encoding.
– Vinicius Fernandes
To resolve am using a file . properties.
– Roknauta