Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | 6.x |
By default, UTF8 encoding will not be enabled when you use be-tools to build a Docker image of your BusinessEvents application. For details, refer to the issue on GitHub entitled "Configure UTF-8 file encoding (java env) to avoid encoding issues".
This can cause issues if your application needs to handle data that contains UTF8 characters.
ENV JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF8"
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);