You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "David Arthur (JIRA)" <ji...@apache.org> on 2012/08/18 01:40:38 UTC

[jira] [Updated] (KAFKA-468) String#getBytes is platform dependent

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

David Arthur updated KAFKA-468:
-------------------------------

        Fix Version/s: 0.8
    Affects Version/s: 0.8
               Status: Patch Available  (was: Open)

Specifying "UTF-8" in StringEncoder/Decoder
                
> String#getBytes is platform dependent
> -------------------------------------
>
>                 Key: KAFKA-468
>                 URL: https://issues.apache.org/jira/browse/KAFKA-468
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.8
>            Reporter: David Arthur
>             Fix For: 0.8
>
>         Attachments: KAFKA-468.diff
>
>
> Just noticed while looking at the source that some calls to java.lang.String#getBytes do not include the encoding. They should probably specify "UTF-8" for platform-independence.

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