1. Star-Dust

    B4J Code Snippet [XUI] SD Base64 - Encode / Decode

    Today I was looking for a method for encoding and decoding in Base64. There are many libraries including the well-known StringUtils. But the decoding signaled me an error but it was not possible to understand exactly what the error was So I created for B4J a class that using inline Java code...
  2. Mashiane

    B4J Question [BANano]: [SOLVED] How to UTF8 encode strings for URL querystrings?

    Hi there In my b4a I use this sub to convert a map to a querystring that I eventually pass to HTTP to execute a PHP request from my MySQL db. Is there a method to encode strings in banano, for example, Im using stringutils for this.. 'convert a map to a querystring Sub Map2QueryString(sm As...
  3. C

    Android Question Encoding Text when Manually Building JSON

    I'm manually building in code, some JSON files, but have a hit a problem where I need to ensure that characters like " ' [ & etc are encoded, as if I don't, the recipient can't parse the resulting file. Is there a function somewhere that will allow me to convert a text string to a JSON friendly...