OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


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


Thanks for the advice!

But I'm wondering that my DocBook document has

<?xml version="1.0" encoding="iso-8859-1"?>

and the resulting HTML file has

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

Are there any XSL parameters where I can set the output decoding?

B.

Paul Heinlein wrote on 06.08.2004 15:33:

> On Fri, 6 Aug 2004, [windows-1252] Bernd Pörner 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 <heinlein@madboa.com>



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]