java - Android parse special characters in json response -
in android application json response string php url. response hotel names apostrophe
, '
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
Post a Comment