java - Android parse special characters in json response -


in android application json response string php url. response hotel names apostrophe, &#039 character instead of apostrophe. how can parse hotel special characters in android? i can see apostrophe in browser not see in android logcat.

i have tried jresponse = urlencoder.encode(jresponse,"utf-8"); not apostrophe hotel name.

this 1 of hotel name in response.

 see following in browser.      {"id":12747,      "name":"oscar's",      ....     } in logcat:       id 12747      name oscar's 

use decoder instead of encoder. urldecoder.decode(jresponse,"utf-8")


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -