(05-11-2019, 10:33 PM)Jose Nilton Pace Wrote: Indy works great:
Code:IdBytes := TIdDecoderMIME.DecodeBytes( mystringencodedbase64.Text );
base64 := BytesToString( IdBytes, IndyTextEncoding_UTF8);
Calling TIdDecoderMIME.DecodeString() as you originally showed should produce the same output as calling TIdDecoderMIME.DecodeBytes() with BytesToString(). If it is not, that will need to be looked into.

