Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Why is Ti.utils.base64encode returning TiBlob in SDK 1.3.1?

Hi,

In 1.3.0 the base64encode used to return a string but in 1.3.1 it returns a blob. How do I get a string from base64encode?

Is there a new API?

Thanks

— asked June 8th 2010 by Gaurav Srivastva
0 Comments

1 Answer

  • Never mind. I used http://www.webtoolkit.info/javascript-base64.html for base64 encoding.

    — answered June 8th 2010 by Gaurav Srivastva
    permalink
    1 Comment
    • Hi Gaurav, can you please post your code. I have tried using it but it returns me an error that string.replace used in UTF encode function is undefined

      — commented June 15th 2012 by Amol Kharat
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.