On Fri, Aug 20, 2010 at 10:38 PM, आलोक (Alok) wrote:
> The problem is resolved. We were trying to (1) read some POSTed data,
> (2) converting it and then (3) POSTing it again.
> setting the HttpServletRequest.setCharacterEncoding("UTF-8") before
> (1) solved the issue.
>
> But this brings us to t
The problem is resolved. We were trying to (1) read some POSTed data,
(2) converting it and then (3) POSTing it again.
setting the HttpServletRequest.setCharacterEncoding("UTF-8") before
(1) solved the issue.
But this brings us to two more questions.
1. Even when the setCharacterEncoding() was no
Try
OutputStreamWriter w = new OutputStreamWriter(c.getOutputStream(),
"UTF-8");
On Aug 19, 12:33 pm, आलोक (Alok) wrote:
> I am having trouble with sending out a POST request that contains
> UTF-8 data.
>
> Here's what I'm doing:
>
> ...
> 01 String s = containing non-asci
On 19 अग, 15:33, आलोक (Alok) wrote:
> 05 c.setRequestProperty("Content-Type",
> "application/json; charset=UTF-8");
Do I need to set Accept-Charset to UTF-8? The specification at
http://www.w3.org/TR/html401/interact/forms.html seems to indicate
that.
The other option is