Is it possible, using @PropertySource
annotation, to configure the encoding that has to be used to load the property file?
An example to clarify my prob
Warm reminder:
define @PropertySource with different features in other project classes can give you results that you're not expected.
for example
In Class A:
@PropertySource(value = "classpath:/myprop.properties", encoding="UTF-8")
While in Class B:
@PropertySource(value = "classpath:/myprop.properties")
Class B's annotation may override Class A's, and in this case Class A's encoding is voided.