Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-18601

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

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • Installation
    • None
    • 0
    • 1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      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"
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            dchevell Dave Chevell
            Votes:
            9 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: