The string set using setText() is correctly escaped to make sure no 
invalid XML can be written out.

However you can use normal java unicode escaping to set your 
special values.

Please try the following instead:
element.setText( "\u009D\u0041") 

> I generate character ASCII from program...

You generate UTF-8, not ASCII. 

Regards,
Edwin


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to