Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-1519

'setAsciiStream' uses different encodings for embedded and client

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.1.3.1, 10.2.1.6, 10.3.1.4
    • 10.3.1.4
    • JDBC, Network Client
    • None
    • Release Note Needed

    Description

      The JDBC method 'setAsciiStream' uses different encodings for embedded and client. In the embedded driver, "ISO-8859-1" is used, in the client driver "US-ASCII" is used. The former is 8-bit, the latter is 7-bit. According to JDBC, the 8-bit encoding should be used for ASCII (see http://db.apache.org/derby/papers/JDBCImplementation.html#GetAsciiStream%28%29 ).

      The method 'getAsciiStream' should also be made to match in the two drivers.

      Attachments

        1. derby-1519-1a.diff
          7 kB
          Kristian Waagan
        2. derby-1519-1a.stat
          0.3 kB
          Kristian Waagan
        3. releaseNote.html
          3 kB
          Kristian Waagan
        4. releaseNote.html
          3 kB
          Kristian Waagan

        Activity

          People

            kristwaa Kristian Waagan
            kristwaa Kristian Waagan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: