Set sun.jnu.encoding and file.encoding to UTF-8 by default

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Installation
    • None
    • 0
    • 4

      Problem Definition

      Customers sometimes run into issues relating to non-ascii characters, such as non-English alphabets, symbols, etc. The solution for these customers is always to set their JVM encoding to UTF-8

      Suggested Solution

      Set "-Dfile.encoding=utf-8 -Dsun.jnu.encoding=utf-8" in the JVM by default

      Workaround

      Set "-Dfile.encoding=utf-8 -Dsun.jnu.encoding=utf-8" in $BAMBOO_INSTALL_DIR/bin/setenv.sh:

      JVM_SUPPORT_RECOMMENDED_ARGS="-Dfile.encoding=utf-8 -Dsun.jnu.encoding=utf-8"
      

              Assignee:
              Unassigned
              Reporter:
              Dave Chevell
              Votes:
              10 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: