android - how to manage chinese language when sending it in request on web service. -


when sending request on web service android, become question marks(?) on web side.

{categoryid=5; categoryname=開胃; categorydesc = 開胃; } 

but in app display &#38283,&#32963

when send string server

string encodedstring = urlencoder.encode(yourstring, "utf-8"); 

when string server

string decodedstring = urldecoder.decode(yourstring, "utf-8"); 

Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -