Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4208

MultiByte Character is broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.5.2
    • Invalid
    • Core
    • None
    • Web Application on Tomcat 6.0.32

    • Unknown

    Description

      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.

      Attachments

        Activity

          People

            dkulp Daniel Kulp
            rabbitfoot Keunil Yoon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: