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] docbook-xsl UTF-8


Thanks for the response David.

I can see in common/en.xml that the character code for those spaces is
160, however, the result is a file that is not a valid multi-byte
sequence. This causes other tools to fail to read the file. Should it
not render as   in the HTML rather than a single byte with the
value 0xa0?

Thanks again for any tips.


On 15/06/11 21:54, David Cramer wrote:
> Hi Tony,
> Those are non-breaking space characters added to prevent the line from
> breaking between the label and the number. You're probably seeing them
> in the output due to the way you have apache configured. For details on
> how to avoid that, see the section titled "Odd characters in HTML
> output" in Bob's book:
> http://www.sagehill.net/docbookxsl/SpecialChars.html
>
> Btw., the strings those characters appear in come from the xslts (e.g.
> common/en.xml in the stylesheet distribution). This system is described
> in Bob's book at:
> http://www.sagehill.net/docbookxsl/CustomGentext.html
>
> Regards,
> David
>
> On 06/15/2011 04:06 AM, Tony Morris wrote:
> > Hi,
> > I am trying to convert a trivial XML file to HTML using
> > docbook-xsl-1.76.1 but I end up with some strange characters (0x0a0a) in
> > my resulting HTML file. I have also tried with a recent
> > docbook-xsl-snapshot and had the same result.
>
> > I have pasted my entire problem here
> > http://pastebin.com/AFrhet0D
>
> > You can see the undesirable characters in the "Part" and "Chapter" of
> > the output. I'd appreciate any suggestions to get this working. Cheers.
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org



-- 
Tony Morris
http://tmorris.net/




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