Hi Tink & Omar, Thanks for that info. I had tried the escape(), encodeURI(), encodeURIComponent() but they add % which is also not allowed. The only spl. characters allowed are :=- and " of course. However the Base64 encoder seems to be working fine (no idea why since byte array wasn't?) but why remove the last '=' and add it later on? didn't get that logic actually.
Thanks Avinash Y On Wed, May 9, 2012 at 12:55 AM, Tink <f...@tink.ws> wrote: > > encodeURIComponent() > > > > Not really sure, just kind of throwing things out there, I'd try those or > > Base64 encoding using > > > http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/utils/Base64Encoder.html > > > > If you Base64 encode it, you'll just need to remove the last "=" character > before sending it. > > When you receive the string, add the "=" character onto the end before you > decode it.