When I try to pass Unicode character 22 (#22 in delphi) through a json message it gets read on the server as unicode character 34(#34 which also is u+0022). Both server and client are using RemObjects.
This doesn’t happen on the bin message type. Is there a setting I’m missing?
Thanks, logged as bugs://78638
bugs://78638 got closed with status fixed.
1 Like
update uROJSONParser.pas
as
function ReadString(AStream: TStream):JSON_String;
..
else if lchar = '"' then Result := Result + JSON_Char(#22) //<<< changed
FYI, I think this is an incorrect fix. See JSON processing issue for why. (Sorry!)