XXE's documentation about this save option[1] is quite clear: only characters "not supported by the encoding" are converted to an entity reference.
Then, why do I get Unicode character number xA0 converted to in a UTF-8 encoded document? xA0 is a supported character in UTF-8, isn't it. Easy workaround: I added a saveOptions/@charsSavedAsEntityRefs = false to my XXE config. This still converts xA0 to   but that's better for me than the entity ref. Cheers, Benoit [1] http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmleditapp.dialog.PreferencesEditorDialog.html#saveOptions -- Benoit Maisonny benoit at synclude.com Director & Consultant http://synclude.com Synclude

