This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Spanish Text
- From: Norman Walsh <ndw at nwalsh dot com>
- To: Jamie Smedsmo <jsmedsmo at gis dot umn dot edu>
- Cc: docbook at lists dot oasis-open dot org
- Date: Mon, 24 Jun 2002 13:25:08 -0400
- Subject: DOCBOOK: Re: Spanish Text
- References: <3D174E52.2010007@gis.umn.edu>
/ 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 (á), 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