uses
...
XSuperObject;
procedure TForm1.Button1Click(Sender: TObject);
var
Json: ISuperObject;
begin
Memo1.Lines.Add('{"Evênements":"Noël"}');
Json := SO('{"Evênements":"Noël"}');
Memo1.Lines.Add(Json.AsJSON(True));
end;
This code produces the following output in Memo1:
{"Evênements":"Noël"}
{
"Ev\u00eanements":"No\u00ebl"
}
Why do I get \u00ea and \u00eb in the output and what should I do to get the correct accented characters?