accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billie Rinaldi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-596) Shell doesn't accept hex characters with nonzero first bit
Date Thu, 17 May 2012 13:27:06 GMT

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

Billie Rinaldi commented on ACCUMULO-596:
-----------------------------------------

It turns out that this error is thrown deliberately, which is to say that the shell cannot
interpret hex characters \x80 or greater since an appropriate charset is not specified.  Calling
getBytes() on a string consisting of \x80 returns a three-byte array.  Using getBytes("ISO-8859-1")
should fix this issue as long as the same charset is used when the string is created.
                
> Shell doesn't accept hex characters with nonzero first bit
> ----------------------------------------------------------
>
>                 Key: ACCUMULO-596
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-596
>             Project: Accumulo
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.4.0, 1.3.5
>            Reporter: Billie Rinaldi
>            Assignee: Billie Rinaldi
>             Fix For: 1.5.0, 1.4.1
>
>
> The shell throws BadArgumentException: unsupported non-ascii character for hex characters
\x80 or greater.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message