Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Decode Base64 into Memo or file
#1
Hi,

I try to decode a string encoded in base64 into Memo o alternatively in a text file...

try this but not work...

...
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
Reply
#2
Hi Alessandro. Try use Indy to do this for you. The second parameter define your encoding type. Indy uses its default encoding (ASCII).
Code:
memo1.text := TIdDecoderMIME.DecodeString( mystringencodedbase64.Text, IndyTextEncoding_UTF8 );
Reply
#3
Hi Jose,
thanks for your suggestion... but not work Sad

if I try.... in the memo1 I see only special character...

I try to decode my string on line here https://www.base64decode.org/ and work... !

this is my string for test coded base64:

MIJAZgYJKoZIhvcNAQcCoIJAVzCCQFMCAQExDzANBglghkgBZQMEAgEFADCCL6YGCSqGSIb3DQEHAaCCL5cEgi+TPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHA6RmF0dHVyYUVsZXR0cm9uaWNhIHhtbG5zOm5zMTI9Imh0dHA6Ly90ZWxlY29taXRhbGlhLml0L3MyZC9zb2EvZXNiX2V0bC9sb2dnZXIiIHhtbG5zOnA9Imh0dHA6Ly9pdmFzZXJ2aXppLmFnZW56aWFlbnRyYXRlLmdvdi5pdC9kb2NzL3hzZC9mYXR0dXJlL3YxLjIiIHhtbG5zOnhzZD0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOmRzPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwLzA5L3htbGRzaWcjIiB2ZXJzaW9uZT0iRlBSMTIiPgogICAgPEZhdHR1cmFFbGV0dHJvbmljYUhlYWRlcj4KICAgICAgICA8RGF0aVRyYXNtaXNzaW9uZT4KICAgICAgICAgICAgPElkVHJhc21pdHRlbnRlPgogICAgICAgICAgICAgICAgPElkUGFlc2U+SVQ8L0lkUGFlc2U+CiAgICAgICAgICAgICAgICA8SWRDb2RpY2U+MDA0ODg0MTAwMTA8L0lkQ29kaWNlPgogICAgICAgICAgICA8L0lkVHJhc21pdHRlbnRlPgogICAgICAgICAgICA8UHJvZ3Jlc3Npdm9JbnZpbz40U1czbjwvUHJvZ3Jlc3Npdm9JbnZpbz4KICAgICAgICAgICAgPEZvcm1hdG9UcmFzbWlzc2lvbmU+RlBSMTI8L0Zvcm1hdG9UcmFzbWlzc2lvbmU+CiAgICAgICAgICAgIDxDb2RpY2VEZXN0aW5hdGFyaW8+MDAwMDAwMDwvQ29kaWNlRGVzdGluYXRhcmlvPgogICAgICAgIDwvRGF0aVRyYXNtaXNzaW9uZT4KICAgICAgICA8Q2VkZW50ZVByZXN0YXRvcmU+CiAgICAgICAgICAgIDxEYXRpQW5hZ3JhZmljaT4KICAgICAgICAgICAgICAgIDxJZEZpc2NhbGVJVkE+CiAgICAgICAgICAgICAgICAgICAgPElkUGFlc2U+SVQ8L0lkUGFlc2U+CiAgICAgICAgICAgICAgICAgICAgPElkQ29kaWNlPjAwNDg4NDEwMDEwPC9JZENvZGljZT4KICAgICAgICAgICAgICAgIDwvSWRGaXNjYWxlSVZBPgogICAgICAgICAgICAgICAgPENvZGljZUZpc2NhbGU+MDA0ODg0MTAwMTA8L0NvZGljZUZpc2NhbGU+CiAgICAgICAgICAgICAgICA8QW5hZ3JhZmljYT4KICAgICAgICAgICAgICAgICAgICA8RGVub21pbmF6aW9uZT5USU0gIFMucC5BLjwvRGVub21pbmF6aW9uZT4KICAgICAgICAgICAgICAgIDwvQW5hZ3JhZmljYT4KICAgICAgICAgICAgICAgIDxSZWdpbWVGaXNjYWxlPlJGMDE8L1JlZ2ltZUZpc2NhbGU+CiAgICAgICAgICAgIDwvRGF0aUFuYWdyYWZpY2k+CiAgICAgICAgICAgIDxTZWRlPgogICAgICAgICAgICAgICAgPEluZGlyaXp6bz5WaWEgR2FldGFubyBOZWdyaTwvSW5kaXJpenpvPgogICAgICAgICAgICAgICAgPE51bWVyb0Npdmljbz4xPC9OdW1lcm9DaXZpY28+CiAgICAgICAgICAgICAgICA8Q0FQPjIwMTIzPC9DQVA+CiAgICAgICAgICAgICAgICA8Q29tdW5lPk1JTEFOTzwvQ29tdW5lPgogICAgICAgICAgICAgICAgPFByb3ZpbmNpYT5NSTwvUHJvdmluY2lhPgogICAgICAgICAgICAgICAgPE5hemlvbmU+SVQ8L05hemlvbmU+CiAgICAgICAgICAgIDwvU2VkZT4KICAgICAgICAgICAgPElzY3JpemlvbmVSRUE+CiAgICAgICAgICAgICAgICA8VWZmaWNpbz5NSTwvVWZmaWNpbz4KICAgICAgICAgICAgICAgIDxOdW1lcm9SRUE+MTU4MDY5NTwvTnVtZXJvUkVBPgogICAgICAgICAgICAgICAgPENhcGl0YWxlU29jaWFsZT4xMTY3NzAwMjg1NS4xMDwvQ2FwaXRhbGVTb2NpYWxlPgogICAgICAgICAgICAgICAgPFNvY2lvVW5pY28+U008L1NvY2lvVW5pY28+CiAgICAgICAgICAgICAgICA8U3RhdG9MaXF1aWRhemlvbmU+TE48L1N0YXRvTGlxdWlkYXppb25lPgogICAgICAgICAgICA8L0lzY3JpemlvbmVSRUE+CiAgICAgICAgPC9DZWRlbnRlUHJlc3RhdG9yZT4KICAgICAgICA8Q2Vzc2lvbmFyaW9Db21taXR0ZW50ZT4KICAgICAgICAgICAgPERhdGlBbmFncmFmaWNpPgogICAgICAgICAgICAgICAgPElkRmlzY2FsZUlWQT4KICAgICAgICAgICAgICAgICAgICA8SWRQYWVzZT5JVDwvSWRQYWVzZT4KICAgICAgICAgICAgICAgICAgICA8SWRDb2RpY2U+MDU1MDQyMzA4NzA8L0lkQ29kaWNlPgogICAgICAgICAgICAgICAgPC9JZEZpc2NhbGVJVkE+CiAgICAgICAgICAgICAgICA8Q29kaWNlRmlzY2FsZT5STU5MU042OU0xNEMzNTFNPC9Db2RpY2VGaXNjYWxlPgogICAgICAgICAgICAgICAgPEFuYWdyYWZpY2E+CiAgICAgICAgICAgICAgICAgICAgPERlbm9taW5hemlvbmU+RVJHT1NPRlQgREkgUk9NQU5PIEFMRVNTQU5EUk88L0Rlbm9taW5hemlvbmU+CiAgICAgICAgICAgICAgICA8L0FuYWdyYWZpY2E+CiAgICAgICAgICAgIDwvRGF0aUFuYWdyYWZpY2k+CiAgICAgICAgICAgIDxTZWRlPgogICAgICAgICAgICAgICAgPEluZGlyaXp6bz5WLlRPU0NBTklOSSAxMTwvSW5kaXJpenpvPgogICAgICAgICAgICAgICAgPENBUD45NTAzMzwvQ0FQPgogICAgICAgICAgICAgICAgPENvbXVuZT5CSUFOQ0FWSUxMQTwvQ29tdW5lPgogICAgICAgICAgICAgICAgPFByb3ZpbmNpYT5DVDwvUHJvdmluY2lhPgogICAgICAgICAgICAgICAgPE5hemlvbmU+SVQ8L05hemlvbmU+CiAgICAgICAgICAgIDwvU2VkZT4KICAgICAgICA8L0Nlc3Npb25hcmlvQ29tbWl0dGVudGU+CiAgICA8L0ZhdHR1cmFFbGV0dHJvbmljYUhlYWRlcj4KICAgIDxGYXR0dXJhRWxldHRyb25pY2FCb2R5PgogICAgICAgIDxEYXRpR2VuZXJhbGk+CiAgICAgICAgICAgIDxEYXRpR2VuZXJhbGlEb2N1bWVudG8+CiAgICAgICAgICAgICAgICA8VGlwb0RvY3VtZW50bz5URDAxPC9UaXBvRG9jdW1lbnRvPgogICAgICAgICAgICAgICAgPERpdmlzYT5FVVI8L0RpdmlzYT4KICAgICAgICAgICAgICAgIDxEYXRhPjIwMTktMDQtMDU8L0RhdGE+CiAgICAgICAgICAgICAgICA8TnVtZXJvPjhWMDAxNDY3MDY8L051bWVybz4KICAgICAgICAgICAgICAgIDxJbXBvcnRvVG90YWxlRG9jdW1lbnRvPjE0OS45OTwvSW1wb3J0b1RvdGFsZURvY3VtZW50bz4KICAgICAgICAgICAgICAgIDxDYXVzYWxlPjNCSU0gMjAxOTwvQ2F1c2FsZT4KICAgICAgICAgICAgPC9EYXRpR2VuZXJhbGlEb2N1bWVudG8+CiAgICAgICAgICAgIDxEYXRpQ29udHJhdHRvPgogICAgICAgICAgICAgICAgPElkRG9jdW1lbnRvPjA5NTk4Mzk1ODwvSWREb2N1bWVudG8+CiAgICAgICAgICAgICAgICA8Q29kaWNlQ29tbWVzc2FDb252ZW56aW9uZT5VVFRUMTwvQ29kaWNlQ29tbWVzc2FDb252ZW56aW9uZT4KICAgICAgICAgICAgPC9EYXRpQ29udHJhdHRvPgogICAgICAgIDwvRGF0aUdlbmVyYWxpPgogICAgICAgIDxEYXRpQmVuaVNlcnZpemk+CiAgICAgICAgICAgIDxEZXR0YWdsaW9MaW5lZT4KICAgICAgICAgICAgICAgIDxOdW1lcm9MaW5lYT4xPC9OdW1lcm9MaW5lYT4KICAgICAgICAgICAgICAgIDxEZXNjcml6aW9uZT5GdW56aW9uYWxpdMOgIFNhZmUgV2ViKiAwMSBtYXJ6byAxOSAtIDMxIG1hcnpvIDE5PC9EZXNjcml6aW9uZT4KICAgICAgICAgICAgICAgIDxEYXRhSW5pemlvUGVyaW9kbz4yMDE5LTAzLTAxPC9EYXRhSW5pemlvUGVyaW9kbz4KICAgICAgICAgICAgICAgIDxEYXRhRmluZVBlcmlvZG8+MjAxOS0wMy0zMTwvRGF0YUZpbmVQZXJpb2RvPgogICAgICAgICAgICAgICAgPFByZXp6b1VuaXRhcmlvPjAuMDA8L1ByZXp6b1VuaXRhcmlvPgogICAgICAgICAgICAgICAgPFByZXp6b1RvdGFsZT4wLjAwPC9QcmV6em9Ub3RhbGU+CiAgICAgICAgICAgICAgICA8QWxpcXVvdGFJVkE+MjIuMDA8L0FsaXF1b3RhSVZBPgogICAgICAgICAgICAgICAgPEFsdHJpRGF0aUdlc3Rpb25hbGk+CiAgICAgICAgICAgICAgICAgICAgPFRpcG9EYXRvPlVUVFQxPC9UaXBvRGF0bz4KICAgICAgICAgICAgICAgICAgICA8UmlmZXJpbWVudG9UZXN0bz4wOT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gICAgICAgICAgIDxEZXNjcml6aW9uZT5PcHppb25lIE51bWVyYXppb25lIEFnZ2l1bnRpdmEgZmViYnJhaW8gLSBtYXJ6bzwvRGVzY3JpemlvbmU+CiAgICAgICAgICAgICAgICA8RGF0YUluaXppb1BlcmlvZG8+MjAxOS0wMi0wMTwvRGF0YUluaXppb1BlcmlvZG8+CiAgICAgICAgICAgICAgICA8RGF0YUZpbmVQZXJpb2RvPjIwMTktMDMtMzE8L0RhdGFGaW5lUGVyaW9kbz4KICAgICAgICAgICAgICAgIDxQcmV6em9Vbml0YXJpbz4xMC4wMDwvUHJlenpvVW5pdGFyaW8+CiAgICAgICAgICAgICAgICA8UHJlenpvVG90YWxlPjEwLjAwPC9QcmV6em9Ub3RhbGU+CiAgICAgICAgICAgICAgICA8QWxpcXVvdGFJVkE+MjIuMDA8L0FsaXF1b3RhSVZBPgogICAgICAgICAgICAgICAgPEFsdHJpRGF0aUdlc3Rpb25hbGk+CiAgICAgICAgICAgICAgICAgICAgPFRpcG9EYXRvPlVUVFQxPC9UaXBvRGF0bz4KICAgICAgICAgICAgICAgICAgICA8UmlmZXJpbWVudG9UZXN0bz4wOTU5ODM5NTg8L1JpZmVyaW1lbnRvVGVzdG8+CiAgICAgICAgICAgICAgICA8L0FsdHJpRGF0aUdlc3Rpb25hbGk+CiAgICAgICAgICAgIDwvRGV0dGFnbGlvTGluZWU+CiAgICAgICAgICAgIDxEZXR0YWdsaW9MaW5lZT4KICAgICAgICAgICAgICAgIDxOdW1lcm9MaW5lYT40PC9OdW1lcm9MaW5lYT4KICAgICAgICAgICAgICAgIDxEZXNjcml6aW9uZT5TdXBlcmZpYnJhIGZlYmJyYWlvIC0gbWFyem88L0Rlc2NyaXppb25lPgogICAgICAgICAgICAgICAgPERhdGFJbml6aW9QZXJpb2RvPjIwMTktMDItMDE8L0RhdGFJbml6aW9QZXJpb2RvPgogICAgICAgICAgICAgICAgPERhdGFGaW5lUGVyaW9kbz4yMDE5LTAzLTMxPC9EYXRhRmluZVBlcmlvZG8+CiAgICAgICAgICAgICAgICA8UHJlenpvVW5pdGFyaW8+MTAuMDA8L1ByZXp6b1VuaXRhcmlvPgogICAgICAgICAgICAgICAgPFByZXp6b1RvdGFsZT4xMC4wMDwvUHJlenpvVG90YWxlPgogICAgICAgICAgICAgICAgPEFsaXF1b3RhSVZBPjIyLjAwPC9BbGlxdW90YUlWQT4KICAgICAgICAgICAgICAgIDxBbHRyaURhdGlHZXN0aW9uYWxpPgogICAgICAgICAgICAgICAgICAgIDxUaXBvRGF0bz5VVFRUMTwvVGlwb0RhdG8+CiAgICAgICAgICAgICAgICAgICAgPFJpZmVyaW1lbnRvVGVzdG8+MDk1OTgzOTU4PC9SaWZlcmltZW50b1Rlc3RvPgogICAgICAgICAgICAgICAgPC9BbHRyaURhdGlHZXN0aW9uYWxpPgogICAgICAgICAgICA8L0RldHRhZ2xpb0xpbmVlPgogICAgICAgICAgICA8RGV0dGFnbGlvTGluZWU+CiAgICAgICAgICAgICAgICA8TnVtZXJvTGluZWE+NTwvTnVtZXJvTGluZWE+CiAgICAgICAgICAgICAgICA8RGVzY3JpemlvbmU+VHV0dG9maWJyYSBmZWJicmFpbyAtIG1hcnpvPC9EZXNjcml6aW9uZT4KICAgICAgICAgICAgICAgIDxEYXRhSW5pemlvUGVyaW9kbz4yMDE5LTAyLTAxPC9EYXRhSW5pemlvUGVyaW9kbz4KICAgICAgICAgICAgICAgIDxEYXRhRmluZVBlcmlvZG8+MjAxOS0wMy0zMTwvRGF0YUZpbmVQZXJpb2RvPgogICAgICAgICAgICAgICAgPFByZXp6b1VuaXRhcmlvPjEyMi4wMDwvUHJlenpvVW5pdGFyaW8+CiAgICAgICAgICAgICAgICA8UHJlenpvVG90YWxlPjEyMi4wMDwvUHJlenpvVG90YWxlPgogICAgICAgICAgICAgICAgPEFsaXF1b3RhSVZBPjIyLjAwPC9BbGlxdW90YUlWQT4KICAgICAgICAgICAgICAgIDxBbHRyaURhdGlHZXN0aW9uYWxpPgogICAgICAgICAgICAgICAgICAgIDxUaXBvRGF0bz5VVFRUMTwvVGlwb0RhdG8+CiAgICAgICAgICAgICAgICAgICAgPFJpZmVyaW1lbnRvVGVzdG8+MDk1OTgzOTU4PC9SaWZlcmltZW50b1Rlc3RvPgogICAgICAgICAgICAgICAgPC9BbHRyaURhdGlHZXN0aW9uYWxpPgogICAgICAgICAgICA8L0RldHRhZ2xpb0xpbmVlPgogICAgICAgICAgICA8RGV0dGFnbGlvTGluZWU+CiAgICAgICAgICAgICAgICA8TnVtZXJvTGluZWE+NjwvTnVtZXJvTGluZWE+CiAgICAgICAgICAgICAgICA8RGVzY3JpemlvbmU+Qm9udXMgSW50ZXJuZXQ8L0Rlc2NyaXppb25lPgogICAgICAgICAgICAgICAgPFByZXp6b1VuaXRhcmlvPi0yMC4wMDwvUHJlenpvVW5pdGFyaW8+CiAgICAgICAgICAgICAgICA8UHJlenpvVG90YWxlPi0yMC4wMDwvUHJlenpvVG90YWxlPgogICAgICAgICAgICAgICAgPEFsaXF1b3RhSVZBPjIyLjAwPC9BbGlxdW90YUlWQT4KICAgICAgICAgICAgICAgIDxBbHRyaURhdGlHZXN0aW9uYWxpPgogICAgICAgICAgICAgICAgICAgIDxUaXBvRGF0bz5VVFRUMTwvVGlwb0RhdG8+CiAgICAgICAgICAgICAgICAgICAgPFJpZmVyaW1lbnRvVGVzdG8+MDk1OTgzOTU4PC9SaWZlcmltZW50b1Rlc3RvPgogICAgICAgICAgICAgICAgPC9BbHRyaURhdGlHZXN0aW9uYWxpPgogICAgICAgICAgICA8L0RldHRhZ2xpb0xpbmVlPgogICAgICAgICAgICA8RGV0dGFnbGlvTGluZWU+CiAgICAgICAgICAgICAgICA8TnVtZXJvTGluZWE+NzwvTnVtZXJvTGluZWE+CiAgICAgICAgICAgICAgICA8RGVzY3JpemlvbmU+UHJvbW8gTnVtZXJhemlvbmUgYWdnaXVudGl2YTwvRGVzY3JpemlvbmU+CiAgICAgICAgICAgICAgICA8RGF0YUluaXppb1BlcmlvZG8+MjAxOS0wMi0wMTwvRGF0YUluaXppb1BlcmlvZG8+CiAgICAgICAgICAgICAgICA8RGF0YUZpbmVQZXJpb2RvPjIwMTktMDMtMzE8L0RhdGFGaW5lUGVyaW9kbz4KICAgICAgICAgICAgICAgIDxQcmV6em9Vbml0YXJpbz4tMjAuMDA8L1ByZXp6b1VuaXRhcmlvPgogICAgICAgICAgICAgICAgPFByZXp6b1RvdGFsZT4tMjAuMDA8L1ByZXp6b1RvdGFsZT4KICAgICAgICAgICAgICAgIDxBbGlxdW90YUlWQT4yMi4wMDwvQWxpcXVvdGFJVkE+CiAgICAgICAgICAgICAgICA8QWx0cmlEYXRpR2VzdGlvbmFsaT4KICAgICAgICAgICAgICAgICAgICA8VGlwb0RhdG8+VVRUVDE8L1RpcG9EYXRvPgogICAgICAgICAgICAgICAgICAgIDxSaWZlcmltZW50b1Rlc3RvPjA5NTk4Mzk1ODwvUmlmZXJpbWVudG9UZXN0bz4KICAgICAgICAgICAgICAgIDwvQWx0cmlEYXRpR2VzdGlvbmFsaT4KICAgICAgICAgICAgPC9EZXR0YWdsaW9MaW5lZT4KICAgICAgICAgICAgPERldHRhZ2xpb0xpbmVlPgogICAgICAgICAgICAgICAgPE51bWVyb0xpbmVhPjg8L051bWVyb0xpbmVhPgogICAgICAgICAgICAgICAgPERlc2NyaXppb25lPlByb21vIFN1cGVyZmlicmE8L0Rlc2NyaXppb25lPgogICAgICAgICAgICAgICAgPERhdGFJbml6aW9QZXJpb2RvPjIwMTktMDItMDE8L0RhdGFJbml6aW9QZXJpb2RvPgogICAgICAgICAgICAgICAgPERhdGFGaW5lUGVyaW9kbz4yMDE5LTAzLTMxPC9EYXRhRmluZVBlcmlvZG8+CiAgICAgICAgICAgICAgICA8UHJlenpvVW5pdGFyaW8+LTEwLjAwPC9QcmV6em9Vbml0YXJpbz4KICAgICAgICAgICAgICAgIDxQcmV6em9Ub3RhbGU+LTEwLjAwPC9QcmV6em9Ub3RhbGU+CiAgICAgICAgICAgICAgICA8QWxpcXVvdGFJVkE+MjIuMDA8L0FsaXF1b3RhSVZBPgogICAgICAgICAgICAgICAgPEFsdHJpRGF0aUdlc3Rpb25hbGk+CiAgICAgICAgICAgICAgICAgICAgPFRpcG9EYXRvPlVUVFQxPC9UaXBvRGF0bz4KICAgICAgICAgICAgICAgICAgICA8UmlmZXJpbWVudG9UZXN0bz4wOTU5ODM5NTg8L1JpZmVyaW1lbnRvVGVzdG8+CiAgICAgICAgICAgICAgICA8L0FsdHJpRGF0aUdlc3Rpb25hbGk+CiAgICAgICAgICAgIDwvRGV0dGFnbGlvTGluZWU+CiAgICAgICAgICAgIDxEZXR0YWdsaW9MaW5lZT4KICAgICAgICAgICAgICAgIDxOdW1lcm9MaW5lYT45PC9OdW1lcm9MaW5lYT4KICAgICAgICAgICAgICAgIDxEZXNjcml6aW9uZT5WZW5kaXRhIFJvdXRlciBXaS1GaTwvRGVzY3JpemlvbmU+CiAgICAgICAgICAgICAgICA8RGF0YUluaXppb1BlcmlvZG8+MjAxOS0wMy0xNDwvRGF0YUluaXppb1BlcmlvZG8+CiAgICAgICAgICAgICAgICA8RGF0YUZpbmVQZXJpb2RvPjIwMTktMDMtMTQ8L0RhdGFGaW5lUGVyaW9kbz4KICAgICAgICAgICAgICAgIDxQcmV6em9Vbml0YXJpbz4xMi4yMDwvUHJlenpvVW5pdGFyaW8+CiAgICAgICAgICAgICAgICA8UHJlenpvVG90YWxlPjEyLjIwPC9QcmV6em9Ub3RhbGU+CiAgICAgICAgICAgICAgICA8QWxpcXVvdGFJVkE+MC4wMDwvQWxpcXVvdGFJVkE+CiAgICAgICAgICAgICAgICA8TmF0dXJhPk4yPC9OYXR1cmE+CiAgICAgICAgICAgICAgICA8QWx0cmlEYXRpR2VzdGlvbmFsaT4KICAgICAgICAgICAgICAgICAgICA8VGlwb0RhdG8+VVRUVDE8L1RpcG9EYXRvPgogICAgICAgICAgICAgICAgICAgIDxSaWZlcmltZW50b1Rlc3RvPjA5NTk4Mzk1ODwvUmlmZXJpbWVudG9UZXN0bz4KICAgICAgICAgICAgICAgIDwvQWx0cmlEYXRpR2VzdGlvbmFsaT4KICAgICAgICAgICAgPC9EZXR0YWdsaW9MaW5lZT4KICAgICAgICAgICAgPERldHRhZ2xpb0xpbmVlPgogICAgICAgICAgICAgICAgPE51bWVyb0xpbmVhPjEwPC9OdW1lcm9MaW5lYT4KICAgICAgICAgICAgICAgIDxEZXNjcml6aW9uZT5Db25zZWduYSBlbGVuY2hpIHRlbGVmb25pY2k8L0Rlc2NyaXppb25lPgogICAgICAgICAgICAgICAgPERhdGFJbml6aW9QZXJpb2RvPjIwMTgtMTAtMjE8L0RhdGFJbml6aW9QZXJpb2RvPgogICAgICAgICAgICAgICAgPERhdGFGaW5lUGVyaW9kbz4yMDE4LTEwLTIxPC9EYXRhRmluZVBlcmlvZG8+CiAgICAgICAgICAgICAgICA8UHJlenpvVW5pdGFyaW8+NS4wMDwvUHJlenpvVW5pdGFyaW8+CiAgICAgICAgICAgICAgICA8UHJlenpvVG90YWxlPjUuMDA8L1ByZXp6b1RvdGFsZT4KICAgICAgICAgICAgICAgIDxBbGlxdW90YUlWQT4yMi4wMDwvQWxpcXVvdGFJVkE+CiAgICAgICAgICAgICAgICA8QWx0cmlEYXRpR2VzdGlvbmFsaT4KICAgICAgICAgICAgICAgICAgICA8VGlwb0RhdG8+VVRUVDE8L1RpcG9EYXRvPgogICAgICAgICAgICAgICAgICAgIDxSaWZlcmltZW50b1Rlc3RvPjA5NTk4Mzk1ODwvUmlmZXJpbWVudG9UZXN0bz4KICAgICAgICAgICAgICAgIDwvQWx0cmlEYXRpR2VzdGlvbmFsaT4KICAgICAgICAgICAgPC9EZXR0YWdsaW9MaW5lZT4KICAgICAgICAgICAgPERldHRhZ2xpb0xpbmVlPgogICAgICAgICAgICAgICAgPE51bWVyb0xpbmVhPjExPC9OdW1lcm9MaW5lYT4KICAgICAgICAgICAgICAgIDxEZXNjcml6aW9uZT5JbmRlbm5pdGEnIHJpdGFyZGF0byBwYWdhbWVudG8gMiUgQ29udG8gMS8xOTwvRGVzY3JpemlvbmU+CiAgICAgICAgICAgICAgICA8UHJlenpvVW5pdGFyaW8+Mi40OTwvUHJlenpvVW5pdGFyaW8+CiAgICAgICAgICAgICAgICA8UHJlenpvVG90YWxlPjIuNDk8L1ByZXp6b1RvdGFsZT4KICAgICAgICAgICAgICAgIDxBbGlxdW90YUlWQT4wLjAwPC9BbGlxdW90YUlWQT4KICAgICAgICAgICAgICAgIDxOYXR1cmE+TjI8L05hdHVyYT4KICAgICAgICAgICAgICAgIDxBbHRyaURhdGlHZXN0aW9uYWxpPgogICAgICAgICAgICAgICAgICAgIDxUaXBvRGF0bz5VVFRUMTwvVGlwb0RhdG8+CiAgICAgICAgICAgICAgICAgICAgPFJpZmVyaW1lbnRvVGVzdG8+MDk1OTgzOTU4PC9SaWZlcmltZW50b1Rlc3RvPgogICAgICAgICAgICAgICAgPC9BbHRyaURhdGlHZXN0aW9uYWxpPgogICAgICAgICAgICA8L0RldHRhZ2xpb0xpbmVlPgogICAgICAgICAgICA8RGV0dGFnbGlvTGluZWU+CiAgICAgICAgICAgICAgICA8TnVtZXJvTGluZWE+MTI8L051bWVyb0xpbmVhPgogICAgICAgICAgICAgICAgPERlc2NyaXppb25lPlNlcnZpemlvIGRpIHByb2R1emlvbmUgZSBpbnZpbyBmYXR0dXJhPC9EZXNjcml6aW9uZT4KICAgICAgICAgICAgICAgIDxEYXRhSW5pemlvUGVyaW9kbz4yMDE5LTAyLTAxPC9EYXRhSW5pemlvUGVyaW9kbz4KICAgICAgICAgICAgICAgIDxEYXRhRmluZVBlcmlvZG8+MjAxOS0wMy0zMTwvRGF0YUZpbmVQZXJpb2RvPgogICAgICAgICAgICAgICAgPFByZXp6b1VuaXRhcmlvPjMuOTA8L1ByZXp6b1VuaXRhcmlvPgogICAgICAgICAgICAgICAgPFByZXp6b1RvdGFsZT4zLjkwPC9QcmV6em9Ub3RhbGU+CiAgICAgICAgICAgICAgICA8QWxpcXVvdGFJVkE+MjIuMDA8L0FsaXF1b3RhSVZBPgogICAgICAgICAgICAgICAgPEFsdHJpRGF0aUdlc3Rpb25hbGk+CiAgICAgICAgICAgICAgICAgICAgPFRpcG9EYXRvPlVUVFQxPC9UaXBvRGF0bz4KICAgICAgICAgICAgICAgICAgICA8UmlmZXJpbWVudG9UZXN0bz4wOTU5ODM5NTg8L1JpZmVyaW1lbnRvVGVzdG8+CiAgICAgICAgICAgICAgICA8L0FsdHJpRGF0aUdlc3Rpb25hbGk+CiAgICAgICAgICAgIDwvRGV0dGFnbGlvTGluZWU+CiAgICAgICAgICAgIDxEYXRpUmllcGlsb2dvPgogICAgICAgICAgICAgICAgPEFsaXF1b3RhSVZBPjIyLjAwPC9BbGlxdW90YUlWQT4KICAgICAgICAgICAgICAgIDxJbXBvbmliaWxlSW1wb3J0bz4xNjAuOTA8L0ltcG9uaWJpbGVJbXBvcnRvPgogICAgICAgICAgICAgICAgPEltcG9zdGE+MzUuNDA8L0ltcG9zdGE+CiAgICAgICAgICAgIDwvRGF0aVJpZXBpbG9nbz4KICAgICAgICAgICAgPERhdGlSaWVwaWxvZ28+CiAgICAgICAgICAgICAgICA8QWxpcXVvdGFJVkE+MjIuMDA8L0FsaXF1b3RhSVZBPgogICAgICAgICAgICAgICAgPEltcG9uaWJpbGVJbXBvcnRvPi01MC4wMDwvSW1wb25pYmlsZUltcG9ydG8+CiAgICAgICAgICAgICAgICA8SW1wb3N0YT4tMTEuMDA8L0ltcG9zdGE+CiAgICAgICAgICAgIDwvRGF0aVJpZXBpbG9nbz4KICAgICAgICAgICAgPERhdGlSaWVwaWxvZ28+CiAgICAgICAgICAgICAgICA8QWxpcXVvdGFJVkE+MC4wMDwvQWxpcXVvdGFJVkE+CiAgICAgICAgICAgICAgICA8TmF0dXJhPk4yPC9OYXR1cmE+CiAgICAgICAgICAgICAgICA8SW1wb25pYmlsZUltcG9ydG8+MTQuNjk8L0ltcG9uaWJpbGVJbXBvcnRv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kBU7aDmpMlQ/IJkBrjEEnRYDECnq+36uQv8qy0x16HctjqF5Y1oJj50RYowM+LLklbS4kvb6efcsgT+0o5ms=
Reply
#4
Hi Alessandro. Indy works great:

Code:
procedure TForm.Button_DecodeClick(Sender: TObject);
var
 base64: string;
 IdBytes: TIdBytes;
begin
 IdBytes := TIdDecoderMIME.DecodeBytes( mystringencodedbase64.Text );
 base64 := BytesToString( IdBytes, IndyTextEncoding_UTF8 );
end;
In this test case, look the debug picture:
   
Reply
#5
Jose Nilton Pace

thanks Works !
Reply
#6
(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.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)