You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2014/09/05 12:44:28 UTC

[jira] [Updated] (DIRMINA-943) TextLineDecoder unexpected result in multibyte charset

     [ https://issues.apache.org/jira/browse/DIRMINA-943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRMINA-943:
--------------------------------------
    Fix Version/s: 3.0.0-trunk

> TextLineDecoder unexpected result in multibyte charset
> ------------------------------------------------------
>
>                 Key: DIRMINA-943
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-943
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.0.0-M2
>         Environment: windows7 x64  jdk1.6.0.45
>            Reporter: heyoulin
>             Fix For: 3.0.0-trunk
>
>
> decoded = new String(buffer.array());
> should be:
> decoded = buffer.toString();
> or 
> decoded = new String(buffer.array(),0,buffer.limit());



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)