I am having the same problem with JSP pages using JBoss 3.2.5 on Win XP. The 
parameters are always decoded in ISO-8859-1. I even tried an Encoding-Filter with no 
success.

Demo page:

  | <%@ page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" %>
  | <%@ page import="java.net.URLEncoder" %>
  | 
  | <% request.setCharacterEncoding("UTF-8"); %>
  | 
  | <title>Test</title>
  | 
  | <h1>Umlaut-Test! ÃÃÃÃ</h1>
  | 
  | <form method="get" action="test.jsp">
  | <input type="hidden" name="p" value="MÃller" />
  | <input type="submit" value="submit! (UTF-8, see contentType)" />
  | </form>
  | 
  | <p><a href="test.jsp?p=<%= URLEncoder.encode ("MÃller", "UTF-8") %>">LINK encoded 
in UTF-8</a></p>
  | <p><a href="test.jsp?p=<%= URLEncoder.encode ("MÃller", "iso-8859-1") %>">LINK 
encoded in iso-8859-1</a></p>
  | 
  | <h1>Result</h1>
  | <p>request.getCharacterEncoding ( ) &ndash; <%= request.getCharacterEncoding ( ) 
%></p>
  | <p>request.getParameter ("p") &ndash; <%= request.getParameter ("p") %></p>
  | 

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

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


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to