[teiid-issues] [JBoss JIRA] (TEIID-2383) InputStreamReader throws MalformedInputException when handling multi-byte characters

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Fri Feb 8 07:22:51 EST 2013


     [ https://issues.jboss.org/browse/TEIID-2383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins resolved TEIID-2383.
-----------------------------------

    Fix Version/s: 8.3
       Resolution: Done


This occurs when the buffer is not completely used with a dangling multi-byte character, but a later usage appears to completely use the buffer and thus clears the partial multi-byte values.  So this can affect multi-byte files that are 24KB and over.

The fix is different than the suggested so that the buffer is still cleared as much as possible for the next read.
                
> InputStreamReader throws MalformedInputException when handling multi-byte characters
> ------------------------------------------------------------------------------------
>
>                 Key: TEIID-2383
>                 URL: https://issues.jboss.org/browse/TEIID-2383
>             Project: Teiid
>          Issue Type: Bug
>          Components: Common
>    Affects Versions: 7.7.1
>            Reporter: Hisanobu Okuda
>            Assignee: Steven Hawkins
>             Fix For: 8.3
>
>         Attachments: sample.zip, simple_client.tar
>
>
> My VDB uses File translator to handle a csv file which contains multi-byte characters. Reading some csv file via the VDB, MalformedInputException always occurs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list