Hi


I am using the below code

StaxDriver driver = new StaxDriver();
                driver.getQnameMap().setDefaultNamespace
("http://xml.ms.com/ns/fx/eams";);
        
                XStream xStream = new XStream(driver);
        xStream.setMode(XStream.NO_REFERENCES);


String xml = xStream.toXML(event);

the xml below is prints xml but encoding is missing.

How to add UTF-8 encoding to XML?

Regards
Rajan


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to