I don't actually have an accent key, the data is coming from a database
and causing the problems. It' s sorted with the conversion from
iso-8859-1 to UTF-8 that was suggested.
> Those two characters are ISO-8859-1 characters with character codes >
128
Shouldn't that be < 128 (for backtick and single quote)?
What's the deal with UTF-8. Am I correct that the ASCII codes from 0 -
127 (decimal) are the same as in iso-8859-1 which has 256 characters (8
bits not 7) but UTF-8 is only the same for the first 128 (i.e. ASCII
only).
And when people say ANSI with reference to character sets do they mean
ASCII or iso-8859-1?
One more question, what's iso-8859-15?
Sorry for so many question, I'm just trying to clear up my
understanding.
Thanks
Nigel
>>> J�rg Walter <[EMAIL PROTECTED]> 07/11/02 10:18am >>>
On Wednesday, 10. July 2002 14:13, Robin Berjon wrote:
> On Wednesday 10 July 2002 14:04, Nigel Peck wrote:
> > So why does XML::XPath error on the n' in don't?
>
> The likeliest reason is that your file isn't in the correct
encoding.
> Accents and co will cause trouble if the parser expects UTF-8 but you
have
> you content in another encoding.
Specifically, I guess you are using the french accent characters on
your
keyboard, which are _not_ the ASCII single quote or backtick. Those two
characters are ISO-8859-1 characters with character codes > 128, thus
any XML
parser will error out on that, unless you add an encoding definition or
make
that UTF-8 (or plain ASCII). Basicaly, you want to use the single quote
anyways, not the accent, so just do so. Never use the accents key
unless you
want to create letters with accents.
--
CU
Joerg
PGP Public Key at http://ich.bin.kein.hoschi.de/~trouble/public_key.asc
PGP Key fingerprint = D34F 57C4 99D8 8F16 E16E 7779 CDDC 41A4 4C48
6F94
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ITM Business Solutions
Unit 4
Nine Trees Trading Estate
Morthen Road
Rotherham
S66 9JG
Reception
Tel: 01709 703288
Fax: 01709 701549
Help Desk
Tel:01709 530424
Fax: 01709 702159
CONFIDENTIALITY NOTICE: This message is intended only for the use of
the individual or entity to which it is addressed, and may contain
information that is privileged, confidential and exempt from disclosure
under applicable law.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]