Character encoding in Runtime

Question

How do you handle accented characters by the services/routes/Jobs deployed in Runtime, so that they don't appear as question (???) marks or scrambled?

 

Answer

Ensure Runtime is started with the following Java property:

-Dfile.encoding=UTF-8

 

If Runtime is launched from a service: edit the ***wrapper.conf file, located under the Runtime/etc/ folder, by adding the following line:

wrapper.java.additional.NN=-Dfile.encoding=UTF-8

Where NN is the number of the additional config (typically you look for the last entry and use n+1).

Version history
Revision #:
5 of 5
Last update:
‎08-20-2019 12:35 PM
Updated by: