You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "David Medinets (JIRA)" <ji...@apache.org> on 2012/10/30 22:06:11 UTC

[jira] [Commented] (ACCUMULO-836) Specify Charset on getBytes() call for String objects.

    [ https://issues.apache.org/jira/browse/ACCUMULO-836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13487235#comment-13487235 ] 

David Medinets commented on ACCUMULO-836:
-----------------------------------------

See the http://www.mail-archive.com/dev@accumulo.apache.org/msg02051.html thread for more details. Essentially there were some suggestions for alternatives but it seems like using UTF8 is a safe change.
                
> Specify Charset on getBytes() call for String objects.
> ------------------------------------------------------
>
>                 Key: ACCUMULO-836
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-836
>             Project: Accumulo
>          Issue Type: Improvement
>    Affects Versions: 1.5.0
>            Reporter: David Medinets
>            Priority: Minor
>             Fix For: 1.5.0
>
>         Attachments: UTF8.java
>
>
> The comments on ACCUMULO-241 indicate that the build server might have a different default Charset than computers used by developers. Therefore, some of the tests have different results on different computers.
> Every getBytes call on a String object should specify the UTF8 Charset. Unfortunately the codebase has nearly 1,800 getBytes calls.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira