When using the PowerShell external interpreter within an Automic job, characters with umlauts (e.g., ä, ö, ü) or other special characters in the script's output are displayed as garbled or incorrect characters (e.g., ?? or similar) in the Automic job report.
:BEGIN_EXT_INT POWERSHELL
Write-Host Grüßen
:END_EXT_INT POWERSHELL
Output:
Gr??Yen
Product: CA Automic Workload Automation - Automation Engine
Component: Windows Agent (PowerShell External Interpreter)
OS: Microsoft Windows Server
This issue typically arises from a character encoding mismatch. The Windows operating system's default locale settings for non-Unicode programs may not be configured to use UTF-8. Consequently, PowerShell output containing special characters is not correctly encoded for the display or logging environment, leading to garbled text.
To ensure proper display of umlauts and special characters, enable the system-wide Unicode UTF-8 beta feature in Windows.
Steps:
Beta: Use Unicode UTF-8 for worldwide language support.