users@jersey.java.net

Re: [Jersey] code for UTF-8 issue

From: Abe Zafar <abezafar_at_gmail.com>
Date: Sun, 14 Nov 2010 23:19:33 -0800 (PST)

Let me clarify the problem that I am seeing:

client is sending utf-8 chars. On the client I tried both setting the
charset and not setting it, in all the cases the problem kept happening:

scenario 1: "Content-Type", "application/json;"
scenario 2: "Content-Type", "application/json; charset=utf8"
scenario 3: "Content-Type", "application/json; charset=UTF-8"

And on the server I get garbled text for the French accented letters.

I tried this with both jersey 1.1.4 and 1.1.5 and in both cases the problem
occurs.

Any help or hint is appreciated.

thanks
-- 
View this message in context: http://jersey.576304.n2.nabble.com/code-for-UTF-8-issue-tp4439022p5739111.html
Sent from the Jersey mailing list archive at Nabble.com.