On 30-01-2009 at 12:39, Newman, John W wrote:
> Hello,
> 
> The app we are currently developing has to support UTF-16LE.   I've got all
> of our pages rendering correctly, this was a small challenge in itself.
> However when I do a post request, the parameter names and values are not
> encoded correctly, just a bunch of square blocks. =)

I had this problem myself one time. The correct locale was selected and all.
In my case, it turned out that the problem was Tomcat, combined with a filter
mapped to a servlet (instead of to a URL pattern).

In bypassing the need to repeat all URL patterns for the Stripes servlet, I
mapped the StripesFilter directly to the DispatcherServlet. As it happens,
Tomcat parses the request using the (then) request character encoding to
interpret the request to determine the filter and/or servlet to invoke. But
the correct encoding is set in the StripesFilter, which happened later than
that.

Mapping the filter to the URL patterns fixed my problem.


-- 
   ,-_  Oscar Westra van holthe - Kind      http://www.xs4all.nl/~kindop/
  /() )
 (__ (  Inequality is the inevitable consequence of liberty.
=/  ()  -- Salvador De Madariaga - "Anarchy or Hierarchy" (1937)

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to