Uploaded image for project: 'DdlUtils'
  1. DdlUtils
  2. DDLUTILS-233

DataReader doesn't support UTF-8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.1
    • 1.1
    • None
    • Irrelevant

    Description

      When db entries stored in an XML file are read into the db using the DataToDatabase Task they become malformed.

      org.apache.ddlutils.io.DataReader uses FileReader (...) (which depends on the default file encoding of the system) instead of InputStreamReader(new FileInputStream(...),"UTF-8").
      And for efficiency a BufferedReader can be used on top (provided it doesn't conflict with XMLStreamReader).

      Attachments

        Activity

          People

            tomdz Thomas Dudziak
            mfg8876 Andreas Kyrmegalos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified