commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CODEC-58) Character set used by Base64 not documented
Date Fri, 11 Nov 2011 17:39:51 GMT

     [ https://issues.apache.org/jira/browse/CODEC-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Henri Yandell updated CODEC-58:
-------------------------------

    Fix Version/s:     (was: 1.x)
                   1.4
    
> Character set used by Base64 not documented
> -------------------------------------------
>
>                 Key: CODEC-58
>                 URL: https://issues.apache.org/jira/browse/CODEC-58
>             Project: Commons Codec
>          Issue Type: Bug
>    Affects Versions: 1.1, 1.2, 1.3, 1.4
>            Reporter: Pepijn Schmitz
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: codec58.patch
>
>
> The Javadoc for the Base64 class does not document which character set is returned by
encode() and expected by decode(). The RFC specifies "characters", not "bytes" as the result
of the encoding, and yet Base64 returns bytes. It should provide complete information as to
how to convert these bytes to and from Strings. I assume the character set used is ASCII,
but that should be made explicit in the Javadoc.

--
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