views:

168

answers:

0

Hi guys,

We're using Jersey 1.0.3 to implement a REST client. This client needs to post an XML envelope containing UTF-8 characters. When debugging, we can clearly see that the entity that is being sent is correct. However, the request that is being sent changes the entity and garbles non-ASCII characters. We've dug into the Jersey source code and it seems to be using an OutputStream that uses UTF-8, so we're a bit stumped here.

Any ideas why we're observing this behaviour?

Thanks, GB