Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-943

TextLineDecoder unexpected result in multibyte charset

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-DEAD
    • 3.0.0-DEAD
    • Core
    • None
    • windows7 x64 jdk1.6.0.45

    Description

      decoded = new String(buffer.array());

      should be:
      decoded = buffer.toString();

      or
      decoded = new String(buffer.array(),0,buffer.limit());

      Attachments

        Activity

          People

            Unassigned Unassigned
            heyoulin heyoulin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: