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

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

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