AWI - Special characters are displayed as question marks (?)
search cancel

AWI - Special characters are displayed as question marks (?)

book

Article ID: 204081

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

A problem occurs when special characters are entered in a Promptsets, either with AWI or with the REST API.

Special character like "öäü" are displayed as "???" 

For example: 

Input: TEST_ÖÄÜ__U_ű__O_ő

Activation report variable in UC4: TEST_???__U_?__O_?

So it is replacing all special characters with "?"

Environment

Component : Tomcat

Cause

This due to the fact that the Java Virtual Machine that runs Tomcat sources the wrong character encoding from the host system (Linux/Windows) that it is running on.

This has been observed specifically in the case of Docker containers.

Resolution

The issue can be solved by adding -Dencoding=UTF-8 to the startup of the startup of Tomcat in the JAVA_OPTS variable