To enable UTF8 support, set the
JAVA_TOOL_OPTIONS environment variable in your Dockerfile as follows:
ENV JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF8"
To determine your current file encoding settings, you may add a simple startup RuleFunction to print this information to the console. For example:
String[] variableType = {"java.lang.String"};
String[] variablenName = {"file.encoding"};
String sret=System.execJava("java.lang.System","getProperty",variableType, null, variablenName);
System.debugOut(" ### Java file encoding set to:" + sret);