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 開,胃
when send string server
string encodedstring = urlencoder.encode(yourstring, "utf-8");
when string server
string decodedstring = urldecoder.decode(yourstring, "utf-8");
Comments
Post a Comment