05-11-2019, 10:33 PM
Hi Alessandro. Indy works great:
In this test case, look the debug picture:
Code:
procedure TForm.Button_DecodeClick(Sender: TObject);
var
base64: string;
IdBytes: TIdBytes;
begin
IdBytes := TIdDecoderMIME.DecodeBytes( mystringencodedbase64.Text );
base64 := BytesToString( IdBytes, IndyTextEncoding_UTF8 );
end;