Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-69331

System settings can affect how gadget text is rendered

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 7.6.0, 7.13.0, 8.2.0
    • Environment - Java
    • None

    Description

      Issue Summary

      Currently JVM inherits file and system encoding from the operating system, unless JVM parameters are specified

      Usually this is not a problem as the operating system is configured for UTF-8, however, a slight can cause this problem.

      Environment

      Any operating system not using UTF-8 for file or system encoding

      Steps to Reproduce

      1. Configure OS to use Latin-1 encoding (or ISO-8859-1 or Windows-1252) instead of UTF-8
      2. Use a multi-byte character such as è (e-Grave, U+00E8)

      Expected Results

      Character renders as è

      Actual Results

      Character renders as Ã, ¨

      Notes

      We should ship the UTF-8 settings by default because there is no good reason to inherit the file/system encodings from the operating system.

      https://www.i18nqa.com/debug/bug-utf-8-latin1.html
      Jira Application internationalisation and encoding troubleshooting

      Workaround

      Add the following JVM parameters:

      -Dfile.encoding=utf-8
      -Dsun.jnu.encoding=UTF-8

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              abeltz Alexander (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: