Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Highlighted
New Contributor
Posts: 5
Registered: ‎06-30-2010
My Device: Nokia N950
My Carrier: n/a

JSR 172 and UTF-8

I'm connecting to a .net webservice using JSR 172, and have a problem (on BlackBerry devices) when sending non-ASCII characters.  The characters appear to be encoded correctly, but they are not handled correctly on the server-side.  The device is sending a content-type of "text/xml", whereas other devices are sending "text/xml; charset=utf-8", which seems to work fine.

 

Is there a way I can change the content-type string in the request?

 

Cheers,

Graham.