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

System settings can affect how gadget text is rendered

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 10.1.1
    • 7.6.0, 7.13.0, 8.2.0
    • Environment - Java
    • None

      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

              drauf Daniel Rauf
              abeltz Alexander (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: