RE: MSXML and Encoding

Subject: RE: MSXML and Encoding
From: Bernhard Keil <Bernhard.Keil@xxxxxx>
Date: Wed, 8 Sep 1999 18:09:59 +0200
there is nothing strange.
UTF-8      is ASCII
ISO-8859-1 is ANSI


that works:

<?xml version="1.0" encoding="ISO-8859-1"?>
<root>
è ä ö ü 
</root>





-----Original Message-----
From: Steven Livingstone, ITS, SENM
[mailto:steven.livingstone@xxxxxxxxxxxxx]
Sent: Wednesday, September 08, 1999 5:03 PM
To: xsl-list@xxxxxxxxxxxxxxxx
Subject: RE: MSXML and Encoding


Very strange.
Characters such as ë or è do not get parsed.

Eg. This fails, giving a ?

<?xml version='1.0' encoding='UTF-8'?>
<root>
è
</root>

giving the reason
An Invalid character was found in text content. Line 3, Position 1 
?</root>

Am I missing something *really* daft?

Basically I have been converting a company information database from an old
Access for to SQL Server and Ingres.
I went DB -> XML -> DB  for *very* good reasons, using the Cononical form as
a guideline.

Everything worked pretty well in parsing when I removed these characters,
otherwise it just told me the character was not recognised and stopped
parsing.

Thanks
Steven

Steven Livingstone - http://www.deltabiz.com
07771 957 280 or +447771957280

Author - 
Professional Site Server 3, Wrox Press
http://www.wrox.com/Consumer/Store/Details.asp?ISBN=1861002696
Professional Site Server 3.0 Commerce Edition, Wrox Press
http://www.wrox.com/Consumer/Store/Details.asp?ISBN=1861002505

President, AIP Scotland.
ceo@xxxxxxxxx
http://www.citix.com

Join Association of Internet Professionals - http://www.citix.com/aip


> -----Original Message-----
> From:	pandeng@xxxxxxxxxxxx [SMTP:pandeng@xxxxxxxxxxxx]
> Sent:	08 September 1999 14:54
> To:	xsl-list@xxxxxxxxxxxxxxxx
> Subject:	Re: MSXML and Encoding
> 
> On Wed, 8 Sep 1999 13:35:11 +0100 , you wrote:
> 
> >Special European Characters don't seem to work for UTF-8 (at least for
> the
> >MSXML parser).
> 
> Do you have a specific example? I haven't noticed any problems of that
> sort with the MSXML parser.
> 
> -Steve
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread