??? wrote:
> I am a user of XMLmind Standard Edition.
> Want to ask a question.
> I am content is Chinese Word. use UTF-8 Charset Encoding.
> As I will covert Docbook into HTML.
> The original Chinese words are all turned into &28204; 試 報
> 
> How should I solve the problem that like this?

This question is related to the use of the DocBook XSL style sheets, and
not really to XMLmind XML Editor.

The answer is that you have to specify to the DocBook XSL style sheets
that you want to use UTF-8 as the encoding of the generated HTML pages,
not ISO-8859-1 as it is the case by default.

For *multi-page* HTML, the short answer is: add this snippet to your
customize.xxe[*]:

---
<!-- Use UTF-8 encoding for generated multi-page HTML. -->

<parameterGroup name="docb.toHTML.transformParameters">
  <parameter name="chunker.output.encoding">UTF-8</parameter>
  <parameter
name="saxon.character.representation">native;decimal</parameter>
</parameterGroup>
---

If, like me, you need to understand what you do, you may want to read
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/customizing.html

(The solution to your problem for *single-page* HTML is found here:
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/custom_params.html#custom_xslt)

If, unlike me, you want to become a guru of DocBook XSL style sheets,
you may want to read "DocBook XSL: The Complete Guide"
http://www.sagehill.net/docbookxsl/

---
[*] You'll find attached to this email a sample customize.xxe, in case
you don't have one.

Simply copy it to <XXE_user_preferences_directory>/addon/, where
<XXE_user_preferences_directory> is:

  * $HOME/.xxe/ on Linux and on the Mac,

  * %SystemDrive%\Documents and Settings\%USERNAME%\Application
Data\XMLmind\XMLeditor\ on Windows 2000/XP,

  * %SystemDrive%\winnt\Profiles\%USERNAME%\Application
Data\XMLmind\XMLeditor\ on Windows NT.

and then restart XXE.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: customize.xxe
Type: text/xml
Size: 491 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20060124/d537cf84/attachment.xml
 

Reply via email to