To be honest, I didn‘t read your post after reading the topic. I really thought you were asking where Andre ( Garcia) is. (A longtime member of the LC community. ) Perhaps a more meaningful term would have led to more answers.
Matthias Von meinem iPhone gesendet > Am 14.03.2020 um 08:01 schrieb J. Landman Gay via use-livecode > <use-livecode@lists.runrev.com>: > > Not at all, the most likely reason is that no one was sure of the answer. Or > maybe your post got lost in the fog. But re-reading your post, it looks like > you're doing the textEncode at the wrong time. Storing encoded text in LC can > give unexpected results, instead try putting the textEncode function directly > into the line that writes the file. > > put textEncode(revXMLText (idID), "UTF8") into URL **myFile.xml** > > The general rule is that encoding should happen when data leaves LC, and > should be decoded when data comes in. Data manipulated inside LC shouldn't be > changed. > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com >> On March 14, 2020 1:40:06 AM Charles Lachat via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> I feel André is not welcomed as an outsider in this list. >> >> Too bad. >> >> CL, not enough philosophical, not enough Catalina >> >> >> >> >>>> Le 11 mars 2020 à 23:48, Charles Lachat via use-livecode >>>> <use-livecode@lists.runrev.com> a écrit : >>> >>> Hi, >>> >>> Let’s say I build an XML tree in LiveCode; part of it is: >>> >>> revXMLPutIntoNode idID, "/identity/name", textEncode (field "name_source" >>> ,"UTF8") -- fld contains "André" >>> >>> When I write the XML file: >>> >>> put revXMLText (idID) into URL **myFile.xml** >>> >>> … I don’t find André any longer, but André >>> >>> How can I fix this using LiveCode tools ? >>> (I mean without using i.e. *replace oldString with newString in container* >>> for each accented character) >>> >>> Thanks. >>> >>> CL >>> ======= >>> full example at: >>> https://forums.livecode.com/viewtopic.php?f=7&t=33761 >>> >>> >>> >>> _______________________________________________ >>> 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 >> >> >> _______________________________________________ >> 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 > > > > > _______________________________________________ > 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 _______________________________________________ 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