You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ddlutils-dev@db.apache.org by "Andreas Kyrmegalos (JIRA)" <ji...@apache.org> on 2008/11/15 04:36:44 UTC

[jira] Created: (DDLUTILS-233) DataReader doesn't support UTF-8

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.


[jira] Resolved: (DDLUTILS-233) DataReader doesn't support UTF-8

Posted by "Thomas Dudziak (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DDLUTILS-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Dudziak resolved DDLUTILS-233.
-------------------------------------

    Fix Version/s: 1.1
       Resolution: Fixed

Should be fixed in rev 987976.

> 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
>             Fix For: 1.1
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> 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.