Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-1698

Web.xml filter order is incorrect for extended UTF-8 characters

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 1.1.0.RELEASE
    • 1.1.1.RELEASE
    • WEB MVC
    • None
    • Win 7, STS 2.5

    Description

      Build any of the samples with WebMVC. Look at web.xml. The CharacterEncodingFilter is ordered after several other filters, one or more of which retrieve a parameter from the request. Character encoding can only be changed before the first parameter request, therefore the CharacterEncodingFilter is having no effect, and the result is a mangled UTF-8 character interpreted as ISO=8859-1 (you should be able to test this yourself, by using something like the specialized quotes in Microsoft word). The fix is to make the CharacterEncodingFilter the first filter executed.

      For additional encoding info see: http://wiki.apache.org/tomcat/FAQ/CharacterEncoding

      Attachments

        Activity

          People

            sschmidt Stefan Schmidt
            rsax Robert Sax
            Archiver:
            tmarshall Trevor Marshall

            Dates

              Created:
              Updated:
              Resolved:
              Archived: