non-ASCII characters incorrectly encoded in field "From:" in emails

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 3.5
    • Affects Version/s: 3.0.1
    • Component/s: Email notifications
    • Environment:

      Solaris 9, JDK 1.4.1, Tomcat 5.x

    • 3

      From version 3.0.0 onward, JIRA enters actual user as sender in the email notifications (instead of using a predefined e-mail address). This means that sender field can now contain non-ASCII characters, as user's "fullname" is used as the description part of the email address. Unfortunately, the field is encoded incorrectly, as it is always encoded in ISO-646.

      Strangely, the subject field ("Subject:") is correctly encoded in UTF-8... It seems as if somebody forgot to properly encode "From:" field.

      Relevant parts of the e-mail header from JIRA:
      ------
      From: =?ISO646-US?Q?Bo=3Ftjan_Dolenc_=28JIRA=29?= <jira.razvoj@marand.si>
      Subject: =?utf-8?Q?[JIRA]Created=3A=28PE=2D27=29_test_=C5=A1umnikov_v_emailu?=
      To: bostjan.dolenc@Uni-Lj.si
      ------

            Assignee:
            Dylan Etkin [Atlassian]
            Reporter:
            Deleted Account (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: