Hi,
I try to decode a string encoded in base64 into Memo o alternatively in a text file...
try this but not work...
in memo is show symbol not my original string ....
thanks
Alessandro Romano
I try to decode a string encoded in base64 into Memo o alternatively in a text file...
try this but not work...
Code:
var
b : TBytes;
testo : string;
begin
...
b := TNetEncoding.Base64.DecodeStringToBytes(mystringencodedbase64);
testo := TEncoding.ANSI.GetString(b);
memo1.text := testo;
in memo is show symbol not my original string ....
thanks
Alessandro Romano