Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-840

Allow String-based getBytes calls to pick Charset ending from JVM setting.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      ACCUMULO-836 changed all String-based getBytes() calls to use the UTF-8 standard. However, there is a JVM setting called "jvm.encoding" that should be honored. See http://stackoverflow.com/questions/361975/setting-the-default-java-character-encoding for a discussion of JAVA_TOOL_OPTIONS which might be relevant to this topic. http://javarevisited.blogspot.com/2012/01/get-set-default-character-encoding.html is also a good page to read especially the comment on how character encoding is cached.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                medined David Medinets
                Reporter:
                medined David Medinets
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: