Roger Whitcomb created PIVOT-989:
------------------------------------
Summary: 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)