Hyphen is replaced by questionmark in issue description, when created from incoming email

In my company we use Jira for customer support, and issues are created from incoming emails. We experienced that the hyphen character (-) in the email body is replaced by a questionmark (?) in the issue description field. Is this a configuration matter?

1 answer

1 accepted

0 votes
Accepted answer

Hi Lise,

Based on the described symptom, it looks like this problem could be related to encoding issue. Therefore, can you kindly try to add the -Dfile.encoding=utf-8 argument to JIRA startup options, and see if it helps us?

There's a KB article which addresses this problem, you may kindly refer to it for more details:
- https://confluence.atlassian.com/display/JIRAKB/International+Characters+in+Notification+E-mail+Subjects

After adding the suggested argument (either in setenv.bat for Windows, or setenv.sh for UNIX), you may restart JIRA for the changes to take effect.

I hope that this will help.


Thanks Ahmad, I will try to do as you suggest and see if that solves the problem!

Hi again

we have done like you suggested and that seems to work! Thanks! However - we thought this was default setup? Thats what's said from Jira. Question is: will we have to do this every time we upgrade?

This is information from the tecnical architect:

Fetched from /jira/secure/admin/ViewSystemInfo.jspa

System Encoding utf-8
Operating System Linux 2.6.32-24-server
OS Architecture amd64
Version 5.2
Installation Type Standalone

Problem wasn’t solved until I manually edited /opt/jira/bin/catalina.sh

JAVA_OPTS="$JAVA_OPTS -Dfile.encoding=utf-8"

Hi Lise,

Great to know that the issue is now fixed on your end!

Actually, the suggested option is not defined in JIRA JVM argument by default. Hence if there's any encoding related issues happening (eg: like in our case here, issues created from email is affected), we could first try to use the -Dfile.encoding parameter in an attempt to fix it.

However apart from the catalina.sh file, you may also put the option to the setenv.sh file, and put it in JVM_REQUIRED_ARGS or JAVA_OPTS.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,111 views 4 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you