Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-989

StringSerializer does not use the correct Charset in "writeObject" method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.4, 2.1
    • 2.1, 2.0.5
    • core-serialization
    • None
    • All

    Description

      In the StringSerializer.writeObject() method, the "getBytes()" call for the String is using the platform default charset instead of the given charset, resulting in possibly incorrect values (especially on Windows where the platform default is not UTF-8, which is the default for this class).

      There should be tests for this behavior in StringSerializerTest also.

      Attachments

        Activity

          People

            rwhitcomb Roger Lee Whitcomb
            rwhitcomb Roger Lee Whitcomb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: