Re: [docbook-apps] Problems with quotes in HTML export

From
Oaul Ieinlein
Date
2004-08-06T13:33:55+00:00
ID
Thread
Re: [docbook-apps] Problems with quotes in HTML export
On Fri, 6 Aug 2004, [windows-1252] Bernd P顤ner wrote:

> ... <para>If you want to encrypt/decrypt mail messages only, you can skip 
> this section and jump over to <xref linkend="enigmail"/>.</para> ...
>
> When I'm using the DocBook XSL stylesheets to convert the respective
> document to XHTML, the code shown above results in the following HTML code:
>
> ... <p><a id="d0e213">If you want to encrypt/decrypt mail messages only,
> you can skip this section and jump over to </a><a href="#enigmail"
> title="Enigmail">the section called Enigmail</a></p> ...
>
> The double quotes around the word "Enigmail" cannot be displayed with
> Internet Explorer ... and AFAIK they are not HTML-compliant.

This issue is probably a difference between the text encoding used to 
write the file and what your browser is expecting to see.

For instance, if your HTML document is written in utf-8, but your 
browser is expecting an ISO-8859 encoding (e.g., ISO-8859-1), then 
non-ASCII characters are going to be misinterpreted.

So take a look at the initial xml declaration in your HTML file, e.g.,

   <?xml version="1.0" encoding="utf-8"?>

and in IE go to View -> Encoding and set it to match.

-- Paul Heinlein <>