Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] Fix for bug 257104

The fix for this bug has been checked into SVN

https://bugs.eclipse.org/bugs/show_bug.cgi?id=257104

MULTI-BYTE CHARACTERS ARE LOST AFTER DATAOBJECT IS PASSED OVER RMI:

This was an issue in SDOXMLHelperDelegate. In the save method that takes an output stream, an OutputStreamWriter is created to wrap the output stream, but the proper encoding wasn't being passed into the constructor of the OutputStreamWriter. The encoding from XMLMarshaller should be used. By setting the encoding, the characters are correctly serialized.

Code reviewed by: Blaise Doughan

-Matt


Back to the top