I am trying to send data in HINDI language using JAXRPC webservice from my NOKIA S40 Series Cell phone, The main issue is that the data recieved on the webserver is not in correct format. All I get on the webserver is "?????" (question marks). Where do I go wrong?
Asked
Active
Viewed 213 times
2 Answers
2
You should encode your Strings to UTF-8 on device before sending to webservice. Make sure to decode from UTF-8 when receiving it in webservice.

Telmo Pimentel Mota
- 4,033
- 16
- 22
-
Telmo Pimentel Mota I tried but Don't have enough reputation to accept your answer :( – Satyam Koyani May 13 '13 at 06:14
-
When you do, remember to visit your questions and accept the answers. – Telmo Pimentel Mota May 13 '13 at 10:34
0
if you are using inputstream then get it like below code
HttpConnection conn = (HttpConnection) Connector.open(Feed);
InputStream rssStream = conn.openInputStream();
InputStreamReader isr = new InputStreamReader(rssStream, "utf8");

Faraz Ahmed
- 1,245
- 1
- 14
- 24