12 Replies Latest reply on Jun 15, 2007 10:34 AM by idylle test

    Can't set Character encoding for submitted form data

    idylle test Newbie


      I've got a problem with character with accent in my forms.
      I type a "é" in a inputtext field, I submit the form, and then the character appears like "é".
      I've read in the documentation that I should put that line :

      <web:character-encoding-filter encoding="UTF-8" override-client="true" />

      in the file components.xml.

      I've tried that but it doesn't work (I also don't see the character-encoding-filter tag in http://jboss.com/products/seam/web-1.2.xsd whereas I see the class org.jboss.seam.CharacterEncodingFilter in my jboss-seam.jar).

      I've also tried to put the following lines in web.xml but it doesn't work either :


      (I'm using JBoss Seam 1.2.1 and JBoss Server 4.0.5)

      Does somebody know what I'm doing wrong please?