-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.5
-
Fix Version/s: 5.0.7
-
Component/s: tapestry-upload
-
Labels:None
tapestry-upload ignores the character encoding set in the request and falls back to default character encoding.
The problem is that when extracting the parameter values the FileItem#getString() instead of FileItem#getString(String encoding) is used. The same problem is described and solved in JBoss Portal CMS:
See also: http://jira.jboss.com/jira/browse/JBPORTAL-1550
The getString method should be called with the encoding of the request:
item.getString(request.getCharacterEncoding());