Re: [xsl] xml -> htmlhelp and character 8220

Subject: Re: [xsl] xml -> htmlhelp and character 8220
From: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Thu, 11 Nov 2004 22:45:18 +0100
Allin Cottrell wrote:

Hello,

I recently updated docbook-xsl from version 1.59.1 to 1.67.0, and I find I'm not able to produce htmlhelp output any more. This is working from docbook-xml source, transforming using htmlhelp.xsl with saxon 6.5.3. Previously the transformation went through fine, but now I'm getting the error...

Writing toc.hhc
Error at xsl:copy-of on line 338 of file:/usr/share/sgml/docbook-xsl/html/chunker.xsl:
Output character not available in this encoding (decimal 8220)


There's no literal &#8220; in the xml source: there all we have is
<quote>stuff</quote>.

Any ideas what's wrong here?

The specific character in your XML could be encoded as UTF-8 or UTF-16 and not as &#8220;. The same error would have occured when the character was coded as &#x201C; as well...


Specify an output encoding that allows characters in such high range (UTF-8 or -16) or try to down-translate these characters to characters in the range that is supported by your output encoding...

You are looking for a 'left double quotation mark', one of the 'fancy' quotes in MS Word, so to speak. You could replace it by a straight " as well...

Grtz,
Geert

Current Thread