I need to specify that File
objects created at runtime by my Java application are saved in a specific encoding format (i.e. UTF-8).
I read here that I should specify the encoding at runtime when I start the JVM.
Since I'm developing a Maven project, can I set up the pom.xml
file to specify the encoding? If yes, how?