[JBoss-user] [JBoss Portal] - Re: UTF-8 form support not working Jboss portal?
Kev, can you add a jira task in the 2.0.1 project to remind us to add your change ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896003#3896003 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896003 --- 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 JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: UTF-8 form support not working Jboss portal?
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=bbop=viewtopicp=3895778#3895778 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=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 JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: UTF-8 form support not working Jboss portal?
I am sending UTF-8 / German chars through a form and it works for me. However it was a longer way for me to get there: http://www.jbossgroup.com/index.html?module=bbop=viewtopict=63925view=previous The solution for me was not to modify anything in the portal, but to change ... the default encoding of my linux system to UTF-8. So if I am doing a # echo $LANG I get DE_de.UTF-8 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894876#3894876 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894876 --- 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 JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: UTF-8 form support not working Jboss portal?
You have to submit the form with the right charset form method='post' accept-charset=UTF-8 ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894886#3894886 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894886 --- 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 JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: UTF-8 form support not working Jboss portal?
fheldt wrote : You have to submit the form with the right charset | | form method='post' accept-charset=UTF-8 ... | Yes I'm already doing that as I said in my previous message: So now I attempt to enter UTF-8 characters in my FORM, the HTML FORM has the following attribute: acceptCharset=UTF-8... The issue appears to in the portal, as the same webapp run plain in TomCat (and in Jboss) does not have these issues. Kev -- http://www.alfresco.org View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894933#3894933 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894933 --- 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 JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user