Re: Special character euro sign in JSON string

2019-06-12 Thread Rob Laveaux via 4D_Tech
> On 12 Jun 2019, at 14:47, Piotr Chabot Stadhouders via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > So, the problem is with JSON in Oracle and WE8ISO8859P1 > Unfortunately knowing this doesn't solve my problem Hi Piotr, For data exchange JSON should be encoded in UTF-8. Any other character

RE: Special character euro sign in JSON string

2019-06-12 Thread Piotr Chabot Stadhouders via 4D_Tech
is with JSON in Oracle and WE8ISO8859P1 Unfortunately knowing this doesn't solve my problem Gr, Piotr > -Oorspronkelijk bericht- > Van: Keisuke Miyako > Verzonden: dinsdag 11 juni 2019 10:03 > Aan: 4D iNug Technical <4d_tech@lists.4d.com> > Onderwerp: Re: Special character eur

Re: Special character euro sign in JSON string

2019-06-11 Thread Keisuke Miyako via 4D_Tech
JSON string should be represented in unicode https://www.json.org \u0080 is not the euro sign. $euro:=JSON Parse("{\"euro\":\"\\u20AC\"}") > 2019/06/11 16:22、Piotr Chabot Stadhouders via 4D_Tech > <4d_tech@lists.4d.com>のメール: > When I use $obj:=JSON Parse($json_string) I don't get the euro

Special character euro sign in JSON string

2019-06-11 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, I have a JSON string with a special character, the euro sign This character is represented in JSON by u0080 An example of part of the JSON string in 4D when watching in the debugger is ,"amount":"250.00","valutasign":"\\u0080", When I use $obj:=JSON Parse($json_string) I don't