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


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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

Subject: DOCBOOK: Re: Spanish Text

/ Jamie Smedsmo <jsmedsmo@gis.umn.edu> was heard to say:
| I just recieved a Docbook XML document in Spanish.  I'm trying to
| transform the document to HTML with SAXON, as I do with the English
| documents, but it has trouble with the extended ascii characters as
| follows:
| <.xml c:/docbook/docbook-xsl/html/mdp.xsl > getstarted-howto.html
| Error at byte 248 of
| file:/C:/cygwin/home/Administrator/mapserver_docs/getstarted-howto_es.xml:
|   Error reported by XML parser: bad continuation of multi-byte UTF-8
| sequence (code: 0x74)
| Transformation failed: Run-time errors were reported
| I know that I could have the author replace all the offending
| characters with entity references (&aacute;), but I don't want to do
| this unless it's necessary.  Is there any alternative?

Yes, the document is probably in ISO Latin 1, try adding an explicit
encoding declaration to the top of the file:

  <?xml version='1.0' encoding='ISO-8859-1'?>

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com>      | More men become good through
http://www.oasis-open.org/docbook/ | practice than through
Chair, DocBook Technical Committee | nature.--Democritus of Abdera

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

Powered by eList eXpress LLC