Board index » cppbuilder » Base64 Encoding using Indy

Base64 Encoding using Indy


2005-12-13 04:55:14 AM
cppbuilder6
Has anyone used the Base64Encoding? I'm having trouble with Null characters terminating my string. Some encoders allow sending a binary file (which is what I would love to do). The encoder works fine with just plain text just not anything with null characters.
 
 

Re:Base64 Encoding using Indy

"TPopson" < XXXX@XXXXX.COM >wrote in message
Quote
Has anyone used the Base64Encoding? I'm having trouble
with Null characters terminating my string.
Please show your actual code. Indy doesn't terminate on null characters, so
you are probably passing in strings with embedded null characters that get
treated as null terminators before Indy ever sees the string values.
Gambit