Forum Discussion

pjcampbell_7243's avatar
Jul 15, 2009

The character encoding specified in the HTTP header (iso-8859-1) is different from the value in the element (utf-8). I will use the value from the HT

Is there a way to force UTF-8 on a particular Virtual Host or Pool? Is this even a BIGIP issue?

 

 

I have UTF-8 forced in Apache, forced within the html yet it is not showing up properly.

 

 

The site is here:

 

 

http://www.ourvacationstore.com/about_us.htm

3 Replies

  • For testing purposes I tried something like

     

     

    when HTTP_REQUEST {

     

    HTTP::header replace charset "utf-8"

     

    HTTP::header replace encoding "utf-8"

     

    }

     

     

    It doesn't work.

     

  • Is that an error from Tomcat? What is the full text of the error? Do you see the same issue if you make the same request directly to the pool member?

     

     

    See this page for some possibly related info:

     

    http://wiki.apache.org/tomcat/FAQ/CharacterEncoding

     

     

    Once you have an understanding of the problem, if you want to rewrite either an HTTP request or response header or body, reply here and we can help you.

     

     

    Aaron
  • Good point!!!

     

     

    It was a Tomcat issue. argh!!!

     

     

    Ended up just adding this:

     

     

    <%@ page

     

    contentType="text/html; charset=UTF-8"

     

    %>