revPutIntoXMLNode, revXMLNodeContents, and curly quotes

Peter T. Evensen pevensen at siboneylg.com
Tue May 24 19:11:56 EDT 2005


I am putting the htmlText of a filed into an XMLNode.  When I retrieve it, 
the curl quotes are preceded by an A with a hat (Â).

The date comes from the field as:

“That’s quite an honor,”

I do a revPutIntoXMLNode and a revGetXMLContect I get the following:

“That’s quite an honor,”

A revXMLText of the tree results in the string appearing as (where the 
codes are the equivalent to the first, but in hex):

“That’s quite an honor,” her mother said

Is this a bug in the XML routines?  revXMLNodeContents returns the curly 
quotes, but add a  before each.

Peter T. Evensen
http://www.PetersRoadToHealth.com
24-hour recorded info hotline: 1-800-624-7671 


More information about the use-livecode mailing list