System Encoding changed to ANSI_X3.4-1968 after Greenhopper Upgrade - Server Encoding is set to UTF-8

Joe F. Lee July 3, 2013

Hi,

we are running Jira (v5.1.2#773-sha1:b805b97) and just made an upgrade of Greenhopper from version 6.1.1 to 6.2.4.
Right after the update and reindex our german colleagues noticed that the german umlauts (äöüß) are no longer shown (instead replaced by two question marks). This used to work just fine prior to the upgrade.
Our investigation revealed that the Jira System Info shows us using "ANSI_X3.4-1968" System encoding instead of "UTF-8".
We checked the server setting and there all are set to UTF-8:


[xxxxxx@xxxxxxx ~]# 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=

Any idea how this happened and how we can fix this? So far we were unable to find any clues.

Thanks,

Joe

1 answer

1 accepted

2 votes
Answer accepted
Yilin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 3, 2013

As a workaround solution, you can try to add the following JVM parameter by editing the line JVM_SUPPORT_RECOMMENDED_ARGS="-Dfile.encoding=utf-8" the file setenv.sh, then restart JIRA.

Joe F. Lee July 3, 2013

Thanks, that worked!

Suggest an answer

Log in or Sign up to answer