[jdom-interest] encoding problems when using get text

Steven Shand steven at intrallect.com
Wed Jun 19 09:11:14 PDT 2002


I've had a hunt round the javadocs as well as the FAQ/Archives but I 
feel like I'm going round in circles!!

I create a document from a file ( or a string ), and the content of an 
element contains text containing  something like °
My call to get text on this element returns the unencoded value ( in 
this case a degree symbol ). How can I maintain the original escaped value??

I understand?! the issues with XMLOutputter and setting encoding type 
but I don't see how that applies here.

If someone can help me out or point me in the right direction I'd be 
mighty appreciative.

Thanks.

Steven Shand.




More information about the jdom-interest mailing list