> Hi, > > I am using the this lines of code to read a xml-document: > > Document document = reader.read(path); > String content = document.asXML(); > System.out.println("sending message to ejb: "+content); > > the structure of the read xml file is: > > <?xml version="1.0" encoding="ISO-8859-1"?> > <IK xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:noNamespaceSchemaLocation="test.xsd"> > <header>..... > > but the System.out method prints allways UTF-8 instead of ISO-8859-1: > > <?xml version="1.0" encoding="UTF-8"?> > <IK xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:noNamespaceSchemaLocation="test.xsd"> > > What is wrong? > > Juraj
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user