db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Kyrmegalos (JIRA)" <j...@apache.org>
Subject [jira] Created: (DDLUTILS-233) DataReader doesn't support UTF-8
Date Sat, 15 Nov 2008 03:36:44 GMT
DataReader doesn't support UTF-8
--------------------------------

                 Key: DDLUTILS-233
                 URL: https://issues.apache.org/jira/browse/DDLUTILS-233
             Project: DdlUtils
          Issue Type: Bug
          Components: Core (No specific database)
    Affects Versions: 1.1
         Environment: Irrelevant
            Reporter: Andreas Kyrmegalos
            Assignee: Thomas Dudziak
            Priority: Critical


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).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message