-
Notifications
You must be signed in to change notification settings - Fork 316
Closed
Description
Julien Rault opened SWS-97 and commented
I'am using JibxMarshaller. There is no way to specify the encoding.
Right now, my marshal function return a XML file with no encoding <?xml version="1.0"?>
In JibxMarshaller code, you use:
marshalDocument(graph, null, null, outputStream);
and
marshalDocument(graph, null, null, writer);
but the interface is:
marshalDocument(Object root, String enc, Boolean alone, OutputStream outs)
marshalDocument(Object root, String enc, Boolean alone, Writer outw)
Can you add a property in the bean definition like:
<property name="encoding" value="UTF-8"/>
So we can specified the encoding.
Thanks
Affects: 1.0 M3
Metadata
Metadata
Assignees
Labels
type: enhancementA general enhancementA general enhancement