2 Replies Latest reply on Oct 15, 2005 7:59 AM by mazi

    Configure Charset encoding in the http header

    tcomtcom

      Hi all,

      Intro:
      Already two weeks that I looking aroud with utf-8 problems. I have been posting many message in the user forum, without result. (see http://www.jboss.com/index.html?module=bb&op=viewtopic&t=69605 )
      Now I begin to asking myself if what I trying to do is possible for a simple user or if I need to modify the source code, it's why I try with this forum.

      Question:
      So, how can I change the charset in the http header? Until now I always get this header:


      HTTP/1.1 200 OKServer: Apache-Coyote/1.1X-Powered-By: Servlet 2.4; JBoss-4.0.3RC1 (build: CVSTag=JBoss_4_0_3_RC1
      date=200506260723)/Tomcat-5.5Set-Cookie:JSESSIONID=B4FE084D5CEFA23C0A911006C2B8603A;
      Path=/Content-Type: text/html;charset=ISO-8859-1
      Date: Thu, 29 Sep 2005 08:25:21 GMT
      Connection: close

      And I would like to have it in utf-8. I really don't know from where is comming the ISO-8859-1...

      Environnement:
      I use
      - Windows XP
      - jboss-4.0.3RC1
      - jboss-portal-2.0

      OK, I hope I have been enought precise, thanks I advance

      David