Set the environment variable from JAVA_TOOL_OPTIONSto-Dfile.encoding=UTF8
An example from the terminal in windows:
set JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
c:>wsimport -keep ... file.wsdl
Picked up `JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8`
parsing WSDL...
Generating code...
source
share