Tomcat/Struts interpret form data as ISO-8859-1

Discussion in 'Java' started by yzzzzz, Jan 7, 2005.

  1. yzzzzz

    yzzzzz Guest

    Hi,

    I use exclusively UTF-8 in my webapp, tomcat is running in a UTF-8
    locale, but it still seems to think the form data is in ISO-8859-1. The
    problem is that struts gives me the ActionForm (with values from the
    <form>) before I have time to do anything (such as
    request.setCharacterEncoding("UTF-8");). Is there anyway of telling
    tomcat or struts to use UTF-8 instead of ISO-8859-1 for form data?

    Thanks.
     
    yzzzzz, Jan 7, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?iso-8859-1?b?Sulq6Q==?=

    [EXCEL] sequential =?iso-8859-1?q?acc=E8s=2E?=

    =?iso-8859-1?b?Sulq6Q==?=, Jan 23, 2004, in forum: Perl
    Replies:
    0
    Views:
    713
    =?iso-8859-1?b?Sulq6Q==?=
    Jan 23, 2004
  2. Timiun
    Replies:
    1
    Views:
    520
    Joerg Jooss
    Dec 24, 2003
  3. Navanith

    UTF-8 & ISO-8859-1

    Navanith, Jan 5, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    368
    Fred Chateau
    Jan 5, 2004
  4. Franck DARRAS
    Replies:
    12
    Views:
    638
    Jim Higson
    Aug 23, 2004
  5. Peter Jacobi
    Replies:
    13
    Views:
    849
    =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=
    Aug 3, 2004
Loading...

Share This Page