When I try to open an XML document containing illegal (non-UTF-8) characters I get the following exception:
org.dom4j.DocumentException: Error on line -1 of document : bad continuation of multi-byte UTF-8 sequence (character code: 0x5d) Nested exception: bad continuation of multi-byte UTF-8 sequence (character code: 0x5d)
How exactly do I go about allowing my XML document to open when it contains characters outside UTF-8? What do I need to do? Do I manually need to strip all non UTF-8 characters. Why does the XMLWriter even allow these characters to be written if the SAXReader can not handle them?
Thanks in advance, Philip
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user