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

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

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

ruby - Net::HTTP extremely slow responses for HTTPS requests -