Postby andreaarg » Thu Jul 16, 2009 7:28 pm
I've tried this encoding binarydata using base64, but when delphi receives the flashcall event, the line feed/carriage return characters are missing, replaced by blank spaces, and the string is not decodable.
I've solved it using a StringReplace to restore the characters, but when sending a large amount of data, StringReplace is really slow.
I also tried to use "escape" and "HTTPDecode" (URLEncode), but it doesn't work, resulting string after HTTPDecode is not base64 decodable.
Can you recommend any other way to solve this? maybe using a different encoding that doesn't introduce line feeds?
Thanks in advance.