7 Replies Latest reply on Oct 11, 2007 2:10 PM by chicochen

    HTML source codes has some characters like "&# 30416", but I

      HTML source codes has some characters like "&# 30416", but IE display these native words rightly.

      I use jboss seam and facelet, and there must not has "&# 30416" charater, which is not supported by google search engine.

      I even tried to solve this problem in jsf level, here are some codes, but still not work:

      webpage:

      <?xml version="1.0" encoding="UTF-8"?>


      <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />


      web.xml
      <filter>
      <filter-name>Set Character Encoding</filter-name>
      <filter-class>com.eastidea.px0515.util.SetCharacterEncodingFilter</filter-class>
      <init-param>
      <param-name>encoding</param-name>
      <param-value>UTF-8</param-value>
      </init-param>
      </filter>
      <filter-mapping>
      <filter-name>Set Character Encoding</filter-name>
      <url-pattern>/*</url-pattern>
      </filter-mapping>


      DB conection string:
      <connection-url>jdbc:mysql://127.0.0.1:3306/px0515?useUnicode=true&characterEncoding=UTF-8</connection-url>