Re: mergeJSON on server problem

2020-11-05 Thread David Bovill via use-livecode
Let me dig into this in more detail with some tests - other data encoding is causing problems. Note I only find this on the unix server not with the local MacOS version of the same code and data. I’m going to refer to this stack overflow answer regarding encoding:

Re: mergeJSON on server problem

2020-11-02 Thread Monte Goulding via use-livecode
> On 1 Nov 2020, at 6:21 am, David Bovill via use-livecode > wrote: > > Thanks Mark - I may give fastjson a go. > > I tracked down the problem to the "\u00a0” unicode character in the json I > fetched, which was causing mergeJSON to fail. This hack fixed the issue in a > temporary way. >

Re: mergeJSON on server problem

2020-10-31 Thread David Bovill via use-livecode
Thanks Mark - I may give fastjson a go. I tracked down the problem to the "\u00a0” unicode character in the json I fetched, which was causing mergeJSON to fail. This hack fixed the issue in a temporary way. replace "\u00a0” with empty in episodeJson -- hack to remove "¬" Any thoughts

Re: mergeJSON on server problem

2020-10-31 Thread Mark Wieder via use-livecode
On 10/31/20 10:27 AM, David Bovill via use-livecode wrote: I use mergeJSON to move back an forth between json and arrays for web services. It’s currently failing when I fetch json data from another source on the Ubuntu server, while the same code and data works on MacoS - presumably due to