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