Re: [xsl] xsl and toc.hhc (was xml -> htmlhelp and character 8220)

Subject: Re: [xsl] xsl and toc.hhc (was xml -> htmlhelp and character 8220)
From: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Fri, 12 Nov 2004 16:17:51 +0100
Allin Cottrell wrote:

On Fri, 12 Nov 2004, David Carlisle wrote:

There are comments in the xsl files indicating that the MS help
compiler can't handle that :-(


can it handle utf-8 or utf-16 ? all characters can be encoded in utf encodings so you'd never get that error message if using utf8 (or 16).


Good thought -- and actually the document builds OK with utf-8 specified. The only problem is that section titles with 8-bit characters are broken when viewed on Windows :-(

Allin Cottrell

I guess you mean that the high characters are shown incorrectly. This is most likely because the MS help compiler expects to get a specific encoding, e.g. ansi-1250 or ansi-1252. HtmlHelp content should allow entities, but I believe we are talking about the hht file, the html help TOC file. It is textual.


I'm afraid you will have to downcase characters to the encoding it is expecting. And as it is MS, I guess you will have to downcase to ansi. But only for the hht file...

Grtz,
Geert

Current Thread