Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-468

String#getBytes is platform dependent

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0
    • Component/s: core
    • Labels:
      None

      Description

      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.

        Attachments

        1. KAFKA-468.diff
          1.0 kB
          David Arthur

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mumrah David Arthur
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: