Try withCode: Pascal [Select][+][-]Edit1.Text := jObject.Find('test').AsString;The Variant conversion can do anything.
Hello,TStringStream now observes encoding, following the fix for:https://bugs.freepascal.org/view.php?id=30508Basically, this is a Delphi compatibility fix.This may impact some programs which use encodings that deviate from thedefault system encoding.In that case, the solution is to cast your string to RawByteString in theconstructor, or explicitly specify an encoding.If you want to avoid encoding problems, using a TBytesStream may be a betteridea.Michael.
fpjson depends on TStringStream. A recent change might have caused this problem:QuoteHello,TStringStream now observes encoding, following the fix for:https://bugs.freepascal.org/view.php?id=30508Basically, this is a Delphi compatibility fix.This may impact some programs which use encodings that deviate from thedefault system encoding.In that case, the solution is to cast your string to RawByteString in theconstructor, or explicitly specify an encoding.If you want to avoid encoding problems, using a TBytesStream may be a betteridea.Michael.