Re: [appengine-java] Re: Problem in sending out UTF-8 POST data (only in production, works fine in development)

2010-09-07 Thread Don Schwarz
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

[appengine-java] Re: Problem in sending out UTF-8 POST data (only in production, works fine in development)

2010-08-23 Thread Alok
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

[appengine-java] Re: Problem in sending out UTF-8 POST data (only in production, works fine in development)

2010-08-22 Thread Uwe Maurer
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

[appengine-java] Re: Problem in sending out UTF-8 POST data (only in production, works fine in development)

2010-08-19 Thread Alok
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