Am 2013-06-03 15:54, schrieb Mike Maxwell:
On 6/3/2013 9:39 AM, [email protected] wrote:
This result is the same as in docbook 5 ... your output is ISO-8859-1 :-(
That's the default in docbook

???
http://www.sagehill.net/docbookxsl/CharEncoding.html (re XML, not
DocBook specifically):
    If the encoding is not specified, then UTF-8 encoding is assumed.
(That's Sage Hill, writing about DocBook 4-something; the official
statement on UTF-8 as the default is at
http://www.w3.org/TR/xml/#charencoding.)

About DocBook 5 (from http://docbook.org/tdg5/en/html/ch02.html):
    If your document uses XML 1.0 and an encoding of either utf-8
    or utf-16, the XML declaration is not required.

That other Markus talks about the default output code of docbook.xsl:

<xsl:output method="html"
            encoding="ISO-8859-1"
            indent="no"/>

This indeed uses iso-8859-1 by default unless you tweak it.

regards,
Markus

--
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to