Assaf Cohen a écrit : > Hi, > > I'm having trouble submitting unicode values with Nuxeo EP's HTML forms. > I've tested with Nuxeo EP 5.0.0.RC1 and RC2 using both IE and Firefox. > When working directly against Nuxeo Core in Java everything works fine - > I've managed to feed and retrieve values from the repository in unicode > (hebrew) correctly. > > So far I've noticed the following: > > The UTF-8 meta tag appears in the HTML sources: > /<meta http-equiv="Content-Type" content="text/html; /> > /(thanks to " theme-view.xml" in nxthemes-jsf-filters and > nxthemes-jsf-editor). > yet the page is being understood by the browser as ISO-8859-1 (according > to the "View Page Info" dialog in Firefox)
Yes I actually knew about that problem. The goal is to use the utf-8 charset for the html views but we had not yet the opportunity to fix the JBoss configuration to actually serve utf-8 content-type instead of the default latin1. Apparently we need add something like the following line to the main theme-view.xml facelet. <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/> But I do not know whats the equivalent for faces. According to this page, we also need to update our default jbossweb-tomcat55.sar/service.xml to make tomcat accept UTF-8 in URI parameters. http://wiki.jboss.org/wiki/Wiki.jsp?page=UTF8InPortlet -- Olivier _______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm
