java - How to escape a string in Android? -


i can not find answer , not know how compile org.apache.commons.lang.stringescapeutils, solution found on internet.

also, not understand why can not this

s = s.replaceall(" ","\\ "); 

i think can use

urlencoder.encode("your url here", "utf8")


Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -