Accumulo
  1. Accumulo
  2. ACCUMULO-840

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

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor 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.

        Issue Links

          Activity

          David Medinets created issue -
          Christopher Tubbs made changes -
          Field Original Value New Value
          Fix Version/s 1.5.0 [ 12318645 ]
          Christopher Tubbs made changes -
          Affects Version/s 1.5.0 [ 12318645 ]
          Christopher Tubbs made changes -
          Link This issue relates to ACCUMULO-1593 [ ACCUMULO-1593 ]
          David Medinets made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Won't Fix [ 2 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development