[ https://issues.apache.org/jira/browse/PIVOT-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15321362#comment-15321362 ]
Roger Whitcomb commented on PIVOT-989: -------------------------------------- Fixed in "trunk": Sending core\src\org\apache\pivot\serialization\StringSerializer.java Sending core\test\org\apache\pivot\serialization\test\StringSerializerTest.java Transmitting file data .. Committed revision 1747445. Merged and fixed in "branches/2.0.x": Sending . Sending core\src\org\apache\pivot\serialization\StringSerializer.java Sending core\test\org\apache\pivot\serialization\test\StringSerializerTest.java Transmitting file data .. Committed revision 1747449. > 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)