Discussions

Web tier: servlets, JSP, Web frameworks: spanish, german,french character not displaying

  1. Hi,

    I am using weblogic 8.1 (migrating from 6.1) and getting problem in displaying international character(few character are garbled). i have tried the following:

    1. <%@ page contentType="text/html; charset=UTF8" pageEncoding="UTF8"%> with utf-8 and utf8(both not working)
    2.removed all page directive on static include page(still not working)
    3.in weblogic.xml file<jsp-param>
    <param-name>encoding</param-name>
    <param-value>UTF-8</param-value>
    </jsp-param>
    <jsp-param>
    <param-name>compilerSupportsEncoding</param-name>
    <param-value>false</param-value>
           </jsp-param>


    (but not working)

    any solutions
  2. Can you also try setting content type in response object from your servlet?

    response.setContentType("text/html;charset=utf-8");

    Senthil.