On 3/14/20 6:29 AM, Paul Dupuis via use-livecode wrote:
You still just get Andr - the é is removed
I think revXMLText may convert all non-ASCII characters to HTML entities
I think urlEncode/urlDecode is your friend here (watch the wordwrap):
on mouseUp
local idID
put
revXMLCreateTree("<identity><name></name></identity>",false,true,false)
into idID
revXMLPutIntoNode idID, "/identity/name", urlEncode(field
"name_source") -- fld contains "André"
put urlDecode(revXMLText(idID,,true)) into URL
("file:"&specialFolderPath("desktop")&slash&"myFile.xml")
end mouseUp
--
Mark Wieder
ahsoftw...@gmail.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode