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
It s revXMLText (idID) that converts high ASCII characters to HTML
entities, so I don't think file vs binfile will make much difference.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and
It looks like url("file:...") still makes some conversion. I think we
should still use binfile to avoid conversion and before we do so, we
need to make sure we get the encoding right.
Mark Schonewille
Economy-x-Talk
https://ecxtalk.nl
https://www.nt2.nu
Programming LiveCode for the Real Beginn
On 3/14/2020 3:58 AM, Matthias Rebbe via use-livecode wrote:
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é
First
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 schr
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 func
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
> a écrit :
>
> Hi,
>
> Let’s say I build an XML tree in LiveCode; part of it is:
>
> revXMLPutIntoNode idID, "/