Special characters in Unijob Job Alerts are not displayed correctly in the email

Document ID : KB000086861
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
N/A

Patch level detected:Univiewer Console 3.0.00
Special characters in the Job Alert are not shown properly in the email.

Product Version: UVMS version 4 / 6 and Unijob on version 1.4.5
Environment:
OS: Linux
Cause:
Cause type:
Configuration
Root Cause: The Unijob's alerting emails are sent via Univiewer Management Server.
The root cause is that the Univiewer Management Server (UVMS) was started when the UNIX/Linux system variable LANG is defined as ANSI_X3.4-1968. This can be checked when executing the command "locale":

[root@vmstlsup04 bin]# locale
LANG=ANSI_X3.4-1968
LC_CTYPE="ANSI_X3.4-1968"
LC_NUMERIC="ANSI_X3.4-1968"
LC_TIME="ANSI_X3.4-1968"
LC_COLLATE="ANSI_X3.4-1968"
LC_MONETARY="ANSI_X3.4-1968"
LC_MESSAGES="ANSI_X3.4-1968"
LC_PAPER="ANSI_X3.4-1968"
LC_NAME="ANSI_X3.4-1968"
LC_ADDRESS="ANSI_X3.4-1968"
LC_TELEPHONE="ANSI_X3.4-1968"
LC_MEASUREMENT="ANSI_X3.4-1968"
LC_IDENTIFICATION="ANSI_X3.4-1968"
LC_ALL=
Resolution:
In order to ensure that special characters are correctly displayed when sent from the Univiewer Management Server, the LANG must be defined to support special characters. For example, en_US.UTF-8.
  1. Stop Univiewer Management Server.
  2. Change the LANG by executing the command below on the machine where UVMS is installed:
export LANG=en_US.UTF-8
  1. Check if the change is taken into account byt executing the command locale.
[root@vmstlsup04 bin]# locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
  1. Restart UVMS


Fix Status: No Fix

Fix Version(s):
N/A
Additional Information:
Workaround :
N/A