Hello,

I need help. I find no solution.

I have a problem of character encoding.


My request: http://localhost/myapplication/myCon...1=tronçonneuse

In my web.xml i add:

Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<filter>
	<filter-name>SpringCharacterEncodingFilter</filter-name>
	<filter-class>org.springframework.web.filter.CharacterEncodingFilter
	</filter-class>
	<init-param>
		<param-name>encoding</param-name>
		<param-value>UTF-8</param-value>
	</init-param>
	<init-param>
		<param-name>forceEncoding</param-name>
		<param-value>true</param-value>
	</init-param>
</filter>
<filter-mapping>
	<filter-name>SpringCharacterEncodingFilter</filter-name>
	<url-pattern>/*</url-pattern>
</filter-mapping>
...
The filter SpringCharacterEncodingFilter is the first filter of web.xml and on the top of file.

the header of request (find with firebug):
Code:
Requête
Accept	text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Charset	UTF-8,*
Accept-Encoding	gzip, deflate
Accept-Language	fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
Connection	keep-alive
Cookie	lmfr=192.168.6.15.1326996743623443; SatisfactionAlea=27; JSESSIONID=87E729C6158CA7B8499398038AE9AB84
Host	localhost
So why request.getParameter("param1") is equal to tronçonneuse.

I have the same problem with @RequestParam: param1 = tronçonneuse

I use Firefox and my server is jboss