commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Grobmeier (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COMPRESS-63) String#getBytes() is platform dependent
Date Mon, 13 Apr 2009 19:40:14 GMT

    [ https://issues.apache.org/jira/browse/COMPRESS-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698515#action_12698515
] 

Christian Grobmeier commented on COMPRESS-63:
---------------------------------------------

Ar uses your util method, all the other InputStreams in the archiver package seem to allready
use ASCII comparision.
Which fixes do you mean?

> String#getBytes() is platform dependent
> ---------------------------------------
>
>                 Key: COMPRESS-63
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-63
>             Project: Commons Compress
>          Issue Type: Bug
>            Reporter: Sebb
>
> Many methods use the getBytes() method on Strings, however getBytes() uses the platform
default encoding, which may not be suitable.
> It's also a bit inefficient to keep encoding the same strings.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message