I am a Chinese user, so I have to deal with some non-English characters.
When I use httpclient getmethod to send addrequest to SDP, I use java.net.URLEncoder.encode to encode Chinese characters. Then, append these encoded characters as parameters to the API URL. It works well. All encoded characters can display normally after a new request is created in SDP.
However, since some parameters are too long and exceed the limit of get method, I decide to use post method to send addrequest. I use the same method, java.net.URLEncoder.encode, to encode Chinese characters. After a new request is created in SDP, I find all Chinese characters become weird.
So, does anyone know how to deal with non-English characters via post method to use API?
Thanks!!!!!!