You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Roger Whitcomb (JIRA)" <ji...@apache.org> on 2016/06/08 20:18:21 UTC

[jira] [Closed] (PIVOT-989) StringSerializer does not use the correct Charset in "writeObject" method

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

Roger Whitcomb closed PIVOT-989.
--------------------------------
    Resolution: Fixed

> StringSerializer does not use the correct Charset in "writeObject" method
> -------------------------------------------------------------------------
>
>                 Key: PIVOT-989
>                 URL: https://issues.apache.org/jira/browse/PIVOT-989
>             Project: Pivot
>          Issue Type: Bug
>          Components: core-serialization
>    Affects Versions: 2.0.4, 2.1
>         Environment: All
>            Reporter: Roger Whitcomb
>            Assignee: Roger Whitcomb
>            Priority: Minor
>             Fix For: 2.1, 2.0.5
>
>
> In the StringSerializer.writeObject() method, the "getBytes()" call for the String is using the platform default charset instead of the given charset, resulting in possibly incorrect values (especially on Windows where the platform default is not UTF-8, which is the default for this class).
> There should be tests for this behavior in StringSerializerTest also.



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