Issue Details (XML | Word | Printable)

Key: JRA-11641
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Neeraj Jhanji [Atlassian]
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
JIRA

Please allow ability to set mail encoding separtely from html/DB enoding

Created: 29/Nov/06 08:26 PM   Updated: 15/Apr/07 09:01 PM
Component/s: Internationalisation
Affects Version/s: 3.7
Fix Version/s: 3.8.1

Time Tracking:
Not Specified

File Attachments: None
Image Attachments:

1. becky.JPG
(72 kB)
Environment: all

Participants: Anton Mazkovoi [Atlassian], Neeraj Jhanji [Atlassian] and Nick Menere [Atlassian]
Since last comment: 1 year, 30 weeks, 5 days ago
Resolution Date: 07/Mar/07 05:19 PM
Labels:


 Description  « Hide
In Japan, it is common practise to set up encoding like this:

DB/HTML > UTF-8
EMail > iso-2022-jp (this is because a large number of Japanese users are still using older mail clients)

Currently, JIRA uses the same encoding setting throughout i.e. the encoding setting (webwork.i18n.encoding in webwork.properties) is shared among different components, e.g. MailSender, TemplateManager, etc. Therefore, in order to meet Japanese requirements, currently the only option is to manually modify the source code of the MailSender class, which obviously does not work for most of our customers.

Could you consider having the option setting in next release of JIRA to allow choosing a mail encoding setting different from the DB/html encoding setting?



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Anton Mazkovoi [Atlassian] added a comment - 12/Dec/06 01:35 AM
Hi Neeraj,

Generally we would like to keep the number of configurable properties to a minimum, as every property that we add gives users something they can misconfigure.

May I ask what e-mail clients your users are using? I suspect that old e-mail clients might have other problems with JIRA's e-mails. For example, displaying HTML e-mails. Is this the case? If this is the case, I am leaning towards pushing users to upgrade their e-mail clients. This should greatly decrease the number of problems users are seeing, and improve their overall JIRA experience.

I have looked through the code and from a technical perspective the property should not be too hard to add. If we do add the property, do you mind if we simply add it to jira-application.properties file and do not allow users to change this property through the UI? The main reason for this is that we would like to minimise the number of properties users can edit and hence misconfigure.

This way in your (Japanese) build of JIRA you can modify this property.

I am tentatively scheduling this issue for JIRA 3.8. Please let us understand the problem a bit better before we make the final commitment.


Neeraj Jhanji [Atlassian] added a comment - 12/Dec/06 02:37 AM
Hi Anton,

Your approach of adding the property to jira-application.properties file will work for us. Sorry I dont know which mail clients but I have gotten this feedback time and again from several people (including partners like Fujitsu), so I understand it is a real issue.

Please let me know how you decide to prioritize this.

Thanks,

Neeraj


Anton Mazkovoi [Atlassian] added a comment - 12/Dec/06 02:47 AM
Cool.

May I ask if it is possible to find out what e-mail clients are being used?

I would like to understand the whole problem before we solve anything

Cheers,
Anton


Neeraj Jhanji [Atlassian] added a comment - 12/Dec/06 09:14 PM
Anton,

I have information on some mail clients on which this problem occurs, there may be more:

1. ALmail versions prior to 1.12 (compatible with UTF-8 from 1.13)
http://www.almail.com/news.html

2. EdMax(free version)
http://www.edcom.jp/

3. Becky! 2.25.02(this is a major client in Japan and does not handle UTF-8)
http://www.rimarts.co.jp/index-j.html

Please see screenshot attached.

Thanks,

Neeraj


Anton Mazkovoi [Atlassian] added a comment - 12/Dec/06 10:58 PM
Hi Neeraj,

Thank you for the info. We will try to get this done for 3.8.

The way it will work is that a new property will be added to jira-application.properties file. By default the property will be commented out. In this case JIRA will fall back to its normal encoding. If JIRA finds the property in jira-application.properties file, it will use whatever is specified there.

In your distribution of JIRA you will need to comment in the property and set it to the required value.

On the side note, may I ask why do Japanese users use "special" e-mail clients? Is the problem that standard e-mail clients (e.g. Thunderbird, Outlook) have a lot of problems with Japanese characters? The e-mail clients you mentioned look quite dated. If I was using them, I would be looking to upgrade

Cheers,
Anton


Neeraj Jhanji [Atlassian] added a comment - 18/Dec/06 09:47 PM
It seems that it is a vicious circle that a segment of Japanese users are not upgrading their mail clients because they are concerned that others may not upgrade at the same time. So we continue to see iso-2022-jp as the defacto mail encoding format even now. Some mobile phone email clients also use it.

Anton Mazkovoi [Atlassian] added a comment - 18/Dec/06 10:19 PM
Fair enough.

Thanks for the update.


Nick Menere [Atlassian] added a comment - 07/Mar/07 05:19 PM
Neeraj,

Sorry Neeraj, we couldn't squeeze this one into 3.8. Though it has been fixed for 3.8.1.

Cheers,
Nick