encoding

  1. OliverA

    Android Code Snippet [B4X] UrlEncodeMap

    ' UrlEncodeMap(input As Map) As String ' Converts a Map's keys/values to a URL encoded parameter string ' Following library is used ' B4J - jStringUtils ' B4A - StringUtils ' B4i - iStringUtils Sub UrlEncodeMap(input As Map) As String Dim sb As StringBuilder Dim su As StringUtils...
  2. chris_selkis

    Android Question to read html with okhttputils 2 - character encoding

    Hello, sorry for my bad English. I'm using OkHttputils2 to download a text file and read it. this file contains html code. I display this code in a webview. it works well except for the characters "éèà% .." is there a library to read this encoding correctly? or how can I do it. thank you
  3. ALBRECHT

    Android Question EncodeBase64 for URL and Files

    Hello, Im using that kind of sub with StringUtils and B4XCipher library to encode some passwords : Sub EncryptText(text As String, password As String) As String Dim c As B4XCipher Dim su As StringUtils Return su.EncodeBase64(c.Encrypt(text.GetBytes("utf8"), password)) End Sub Sub...
  4. mcqueccu

    Android Question Help with Character Encoding

    I am retrieving quotes from an online API in JSON format. However, the some of the characters are like appearing strange when i used UTF8 character encoding with okhttputils download2 option. any help? SAMPLE "quote": "If you can\u00e2\u20ac\u2122t resolve your problems in peace, you...
Top