Hello,

I have investigated some time to discover the whole problem. It seems, that the 
problem is not nukes, but the integration of tomcat into JBoss.
The encoding is not messy as long as I have seen - you mentioned.

I have simply overwritten the method doGet(..) in the Class NukesServlet with the 
following content including umlauts.

protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws 
ServletException, IOException
   {
       resp.setContentType("text/html; charset=UTF-8");
       Writer out = resp.getWriter();
       out
               .write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 
Transitional//EN\">");
       out.write("");
       out.write("  Encoding Servlet");
       out.write("  ");
       out.write("    <H1>Hallo, - ÃÂber meinem Haupt ist der Himmel</H1>");
       out.write("  ");
       out.write("");
       out.flush();
       out.close();
}

In the WebBrowser I see only question marks instead of the umlauts. You can simply 
insert this code into Tomcat 4 or 5 and you will see the umlauts.

So, I am right and how can we change that?


Regards,

Cyrill

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837957#3837957

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837957


-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to