This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Accents inside comments
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Accents inside comments
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Fri, 16 Feb 2001 19:38:06 GMT
- References: <3A8D7F8B.F32E2377@alu.ua.es>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> Is this a problem of the processor I'm using (Xalan 1.2), or are these
> characters simply not allowed (even inside comments)?
They are allowed but XML's default encoding is UTF8 (because that can
encode all of unicode) but (I guess) you wrote those characters assuming
latin 1.
so either save your file in utf8 (which may or may not be easy,
depending on how you produced it)
or
declare your XML file is in latin 1 encoding with this as the _very_
first line
<?xml version="1.0" encoding="iso-8859-1"?>
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list