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

String#getBytes is platform dependent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • core
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: