Re: Unicode Encoding request parameters

2011-09-24 Thread Li Ying
You don't need an extra-filter. The S2 default encoding is UTF-8. The code of S2 filter is: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter: public void doFilter(..) { .. prepare.setEncodingAndLocale(request, response); .. } and the code of

Unicode Encoding request parameters

2011-09-20 Thread Zoran Avtarovski
We have a struts2 multilingual web app that requires request parameters be encoded as Unicode (UTF-8). In order to get the POST parameters to work we had to implement a character encoding filter to encode all HTML parameters as UTF-8. I'd like to know if it's possible to do the encoding via S2