This is the sample url
http://abc.com/ABCServlet/abc?cmd=1&id=123&content=%E8%AE%8A
From the browser i’m receiving 變 which is correct,
But from an application which does a http post using the same url I get �. Seems like a double encoding or something, anyone has any ideas?
Since you get three characters, my guess is that you read the input stream without specifying an encoding.
Wrap the stream in
InputStreamReader( stream, "UTF-8" )or, even better, get the encoding from the HTTP header (see the docs of your HTTP framework how to do that).