cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keunil Yoon (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-4208) MultiByte Character is broken
Date Tue, 27 Mar 2012 01:09:25 GMT
MultiByte Character is broken
-----------------------------

                 Key: CXF-4208
                 URL: https://issues.apache.org/jira/browse/CXF-4208
             Project: CXF
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.5.2
         Environment: Web Application on Tomcat 6.0.32
            Reporter: Keunil Yoon


Hi.
I am using org.apache.cxf.io.CacheAndWriteOutputStream class and writeCacheTo method.
As I know when message over 64kb, messese written to file system (Cache) and read.
But when reading It get 1024byte from file and convert to new String like this

IOUtils.newStringFromBytes(bytes, charsetName, 0, x)

When multi-byte data (ex. Korean) is broken when reading from file system cache.
Because data is consisted by multi byte charaters.

How I can fix this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message