Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2663

Buffer class' toString method should accept a code name for "true" utf-8 codeName

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • record
    • None

    Description

      Currently, if one call toString("UTF-8"), a String object is created using Java's converion code.
      That does not work properly for some rare but still true utf-8 bytes. Hadoop has its own utf-8 conversion
      code for string serialization/deserialization. The same code should be used here.

      Attachments

        Activity

          People

            milindb Milind Barve
            runping Runping Qi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: