How to set beanshell encoding to utf8 in joget docker instance

Confluence User - 21 Jan, 2022

I'm using joget in docker container, and add log in beanshell like this:

LogUtil.info("Cpshipment", "发货记录ID: " + shipmentId);

and find log like this:

Cpshipment - ????ID: {id}


Plz help, how can I set encoding in beanshell or log window?

Thanks 6b47341-8fc0-4fa2-9efe-770683086e436b473401-8fc0-4fa2-9efe-770683086e43

encoding;beanshell;log

2


25 Jan, 2022
confluenceUser
confluenceUser

Hi, it depends on which docker image you are using. For example, if you are using this image then there is an environment variable JAVA_OPTS you can override by using "docker run -e". Or you could define and build your own Docker image overriding that base image.

25 Jan, 2022
confluenceUser
confluenceUser

thanks, that helps

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print