Le D?aut St?phane wrote: > I need to set automatically the encoding at start up as the encoding in xxe > is set by default to UTF-8 and my template is set with an encoding > ISO-8859-1.
What is specified in your document template is just useful to load the document template itself and nothing else. > Is it possible to set this encoding at start up ? You cannot force the encoding displayed in the Options dialog box at startup, but you can force the encoding of XML documents of a given type *regardless of what the user has specified using the Options dialog box*. Example, you have written an XXE configuration file for your type of documents. Let's call it MyReport.xxe. Now add in this file: --- <saveOptions encoding="ISO-8859-1" /> --- And all files being recognized by XXE as being MyReport will be saved as ISO-8859-1, *regardless of what is specified in the Options dialog box* (that is, XXE don't care if it is UTF-8, Windows-1252, ISO-8859-2, etc). See http://www.xmlmind.com/xmleditor/_distrib/docs/configure/ch06s19.html Of course, for this to work, the user must not check the toggle "Override settings specified in config. files" in the Options dialog box, Save tab. See http://www.xmlmind.com/xmleditor/_distrib/docs/help/ar01s06s01.html#saveOptions

