Taylor Ren wrote: > > Just downloaded your XXE and a trial license to test the Professional > Edition. > > > > Just one quick question, the output HTML is encoded as > charset=ISO-8859-1 and my Chinese characters are displayed correctly in > the web browser but the source of the HTML shows all these Chinese as: > &12345; stuffs, which decreases the readability of the source. > > > > Is there any way to change the charset of the output HTML to UTF-8? > (Anyway, it surprises me that the UTF-8 encoding is not the default for > HTML output). > >
In my answer, I assume that you are trying to convert DocBook to HTML. --> ISO-8859-1 is the default encoding for HTML for historical reasons (related to the history of the *Web*, and not to the history of XMLmind XML Editor). --> UTF-8 is the default encoding for XHTML. Therefore if you don't mind generating XHTML rather than HTML, the simplest thing to do is to switch to XHTML. Using the Professional or Evaluation Edition, this is quite simple to do: [1] Open the document you want to convert to activate the right configuration. [2] Select menu item Options|Customize Configuration|Document Conversion Preferences. [3] Check "Generate XHTML rather than HTML". [4] Click OK. Of course, this is done once for all (that is, your preferences are persistent across editing sessions). --> If you really want to generate HTML and not XHTML, then this becomes more complicated: * You generate multi-page HTML: Using the Professional or Evaluation Edition, [1] Open the document you want to convert to activate the right configuration. [2] Select menu item Options|Customize Configuration|Change Document Conversion Parameters. [3] Select "Convert to multi-page HTML" using the combobox found at the top of the dialog box. [3] Click on Add [4] Specify chunker.output.encoding as the name of the parameter and UTF-8 as the value of the parameter. [5] Click OK. [6] Click OK. This parametrization is done once for all. * You generate single-page HTML: You are out of luck because this requires customizing the DocBook configuration by hand. How to do this is explained here: http://www.xmlmind.com/xmleditor/_distrib/doc/configure/customizing.html

