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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

125 views 2 0
Join discussion

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