So any other interested parties know, I have fixed the issue. I modified the
file:
org.jboss.portal.server.servlet.AbstractMainServlet
and changed this method thus:
| protected void doGet(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException
| {
| log.info("Setting character encoding to UTF-8...");
| req.setCharacterEncoding("UTF-8");
| PortalServer container = getContainer();
| ServerManager manager = container.getManager();
| InvocationFactory ctx = manager.getInvocationContext();
| Invocation invocation = ctx.decode(req, resp);
| invoke(invocation);
| }
|
This fixed the issue and Form characters are now correctly handled as UTF-8 in
the portal pages.
Thanks,
Kevin
--
http://www.alfresco.org
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895778#3895778
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895778
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user