encoding properties resources Jahia 7.3 Jahia 8 Legacy
resource property files are not encoded well
Why the properties in resources are not encoded well?
sample_fr.properties #/src/main/resources/resources/sample_fr.properties #Thu Jul 25 19:48:57 CEST 2019 jnt_element=El�ment
The problem is in the file encoding itself. It is necessary, that all property files are encoded in ISO-8859-1 or ISO-8859-15. This is defined in jahia guidelines see: Guidelines
You can easily check the encoding of your file with a simple linux command:
file -i /path/to/you/file.properties
and it must be ISO-8859-1 or -15 and for any characters that are not supported you can use the \uXXXX code as an alternative.