XML Library and diacritics: how to?

Jo ë l Guillod joel.guillod at net2000.ch
Tue Sep 9 07:11:01 EDT 2003


How can I set the value of an attribute when this value contains non *pure*
ASCII characters, i.e. diacritics?

For instance:

 revSetXMLAttribute docid,theNode,"Jol" -- does not work
 revSetXMLAttribute docid,theNode,uniEncode("Jol","UTF-8") -- does not work
 revSetXMLAttribute docid,theNode,fld "containing Jol" -- does not work

This works but is not convenient:

 revSetXMLAttribute docid,theNode,the htmltext of fld "containing Jol"

What is the clue?

Should the uniEncode() use some other language than UTF-8?

Thanks for actual answer!

Jol Guillod



More information about the use-livecode mailing list