This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: AW: Problem parsing cp1252 with msxsl > UTF-8 ?
- From: "Américo Albuquerque \(E-mail\)" <aalbuquerque at viseu dot ipiaget dot pt>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 13 Jun 2002 18:07:14 +0100
- Subject: RE: AW: [xsl] Problem parsing cp1252 with msxsl > UTF-8 ?
- Keywords: XSL-List
- Reply-to: xsl-list at lists dot mulberrytech dot com
I had the same problem (in IE5) with portuguese characters like á, é, etc.
I had to use encoding="ISO-8859-1" so I can use them directly
I supose that's an error connected with the editor that might write them
using an encoding diferent than UTF-8
-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Braumüller,
Hans
Sent: Thursday, June 13, 2002 3:20 PM
To: 'xsl-list@lists.mulberrytech.com'
Subject: AW: AW: [xsl] Problem parsing cp1252 with msxsl > UTF-8 ?
Hello,
yes, i understand, but why i get then in IE6 a parsing error ?
with
<?xml version="1.0" encoding="UTF-8" ?>
<de>ü</de>
Is this a browser bug?
Thanks,
Hans Braumüller
> Not true at all. Any encoding that you use with XML gives access to a
> subset of the full unicode character set as character data, other
> characters not in that encoding have to be accessed by character
> references (Ӓ) and can not be used in element and
> attribute names.
>
> utf-8 encoding encodes the whole of unicode which means you can use
> _all_ unicode characters as character data and in element names
> (including German, but also arabic, japanese, ...)
>
> If you use iso-8859-1 then you are restricted to 200 or so characters
> that may be used in element names and accessed as character data.
>
> David
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list