diacritics in XML

Ton Kuypers tkuypers at pandora.be
Sun Mar 21 20:48:52 EST 2004


hi gang,

I think this is an old one, but I can't seem to locate an answer in the 
archives...

When creating XML there are 2 ways:
1. The hard way: adding all nodes and data as regular text
2. the easy way: revAddXMLnode vXMLid,vGroupNode,"description",item a 
of vData

Both of them work, but...

When item a of vData contains "behälter cup 1 & 2" there are 2 problems:

The "ä" and the "&" aren't valid characters in XML

Method 1 just adds these chars to the output, but Explorer doesn't like 
that
Method 2 changes "behälter" to "beh䬴er" and Explorer shows a 
little white box instead of the missing chars

What am I missing, why can't I use these special characters in XML 
within Revolution?
it seems that all  diacritics are messed up and I badly need them :-((

Anyone???

Many thanks,

Ton Kuypers


More information about the use-livecode mailing list