commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] Commented: (COMPRESS-63) String#getBytes() is platform dependent
Date Tue, 14 Apr 2009 23:26:14 GMT


Sebb commented on COMPRESS-63:

Added ArchiveUtils.toAsciiString() and .toAsciiBytes() methods.

Also fixed up code where possible:

COMPRESS-63 - replace dependency on default charset with ASCII where appropriate;
add TODOs where the required charset is not yet clear.

> String#getBytes() is platform dependent
> ---------------------------------------
>                 Key: COMPRESS-63
>                 URL:
>             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.

View raw message