Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Decode Base64 into Memo or file
#8
Hi Alessandro. Two things.
-1st, what is the source encoding (UTF8, ANSI, ASCII) ???.
-2nd, try another encoding to decode. Your VAR and strtofile are AnsiString.
Base64 := BytesToString(IDBytes, IndyTextEncoding_ANSI);
Base64 := BytesToString(IDBytes, IndyTextEncoding_ASCII);
etc.
Reply


Messages In This Thread
RE: Decode Base64 into Memo or file - by rlebeau - 05-14-2019, 08:13 AM
RE: Decode Base64 into Memo or file - by rlebeau - 06-25-2019, 05:52 PM
RE: Decode Base64 into Memo or file - by Jose Nilton Pace - 06-25-2019, 03:24 PM
RE: Decode Base64 into Memo or file - by kudzu - 06-25-2019, 04:47 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)