I encountered an encoding problem, I have a project with javafx and gluonfx-maven-plugin. When I run the program on jetbrain idea, or package a jar and command "java -jar xx.jar",it use utf-8 correct. But after mvn gluonfx:build and run exe on windows, it uses the incorrect encoding of gbk. How can I resolve this problem.
jdk: java17
gluonfx-maven-plugin: 1.0.21
windows 11
maven: 3.8.5
I have also tried adding the -Dfile. encoding=UTF-8 parameter using<linkerArgs>and<nativeImageArgs>tags.<linkerArgs>has no effect, but adding<nativeImageArgs>will result in an error
I encountered an encoding problem, I have a project with javafx and gluonfx-maven-plugin. When I run the program on jetbrain idea, or package a jar and command "java -jar xx.jar",it use utf-8 correct. But after
mvn gluonfx:build
and run exe on windows, it uses the incorrect encoding of gbk. How can I resolve this problem.jdk: java17 gluonfx-maven-plugin: 1.0.21 windows 11 maven: 3.8.5
my pom