This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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,
                                          norm

-- 
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]