Re: [Dspace-tech] Acute Accents -- Searching
2009/5/27 Kim Shepherd k...@waikato.ac.nz: The 'diacritics browse by author' thread prompted me to try adding 'URIEncoding=UTF-8' to other connectors in server.xml. I added it to the 8009 AJP connector and now the search works if I use JSPUI, but not for XMLUI: http://10.4.36.18/browse?value=Graaf%2C+Renétype=author Browsing by Author Graaf, René Adding UTF-8 to every connector in server.xml has not made any difference. Is there some other configuration for the XML UI? There is, and it slipped my mind -- I should have mentioned it earlier: [webapps]/xmlui/WEB-INF/web.xml probably has container-encoding (and possibly form-encoding) set to ISO-8859-1 instead of UTF-8. These params should look like: init-param param-namecontainer-encoding/param-name param-valueUTF-8/param-value /init-param init-param param-nameform-encoding/param-name param-valueUTF-8/param-value /init-param Have a test by just changing the live web.xml and restarting tomcat/dspace, and I think you'll find your problem will be resolved. This issue has been fixed in the 1.5.2 releases (see: http://jira.dspace.org/jira/browse/DS-132) Once you've sorted that out, you may want to look at some UTF-8 lucene search analysers/indexers if the accents you're using aren't all included in ISO-8859-1, but that's a separate issue! Cheers, Kim Thanks Kim Adding 'URIEncoding=UTF-8' to my proxy ajp connector in server.xml and changing the container-encoding value from 'ISO-8859-1' to 'UTF-8' in webapps/xmlui/WEB-INF/web.xml seems to have done the trick on 1.5.1. Sean -- Sean Carte esAL Library Systems Manager +27 72 898 8775 +27 31 373 2490 fax: 0866741254 http://esal.dut.ac.za/ -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Acute Accents -- Searching
2009/5/19 Kim Shepherd k...@waikato.ac.nz: Hi Sean, If you ensure that Tomcat's URIEncoding (and your JSP charsets, if you're using JSPUI) are set to UTF8, this should fix your problem. If you're not sure how to configure Tomcat to encode URIs (author browses use GET and therefore the name ends up in a URI), this page should help: http://struts.apache.org/2.0.14/docs/how-to-support-utf-8-uriencoding-with-tomcat.html Cheers, Kim Hi Kim My configuration already included 'URIEncoding=UTF-8', yet the search for: http://10.4.36.18/jspui/browse?type=authororder=ASCrpp=20value=Graaf%2C+René Results in: No Entries in Index There are no entries in the index for All of DSpace. - Shouldn't that 'René' in the search string be getting encoded? Any ideas? Sean -- Sean Carte esAL Library Systems Manager +27 72 898 8775 +27 31 373 2490 fax: 0866741254 http://esal.dut.ac.za/ -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://www.creativitycat.com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Acute Accents -- Searching
2009/5/21 Sean Carte sean.ca...@gmail.com: 2009/5/19 Kim Shepherd k...@waikato.ac.nz: Hi Sean, If you ensure that Tomcat's URIEncoding (and your JSP charsets, if you're using JSPUI) are set to UTF8, this should fix your problem. If you're not sure how to configure Tomcat to encode URIs (author browses use GET and therefore the name ends up in a URI), this page should help: http://struts.apache.org/2.0.14/docs/how-to-support-utf-8-uriencoding-with-tomcat.html Cheers, Kim The 'diacritics browse by author' thread prompted me to try adding 'URIEncoding=UTF-8' to other connectors in server.xml. I added it to the 8009 AJP connector and now the search works if I use JSPUI, but not for XMLUI: http://10.4.36.18/browse?value=Graaf%2C+Renétype=author Browsing by Author Graaf, René Adding UTF-8 to every connector in server.xml has not made any difference. Is there some other configuration for the XML UI? Sean -- Sean Carte esAL Library Systems Manager +27 72 898 8775 +27 31 373 2490 fax: 0866741254 http://esal.dut.ac.za/ -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://www.creativitycat.com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Acute Accents -- Searching
We've run into a problem with acute accents in an author's name: 'Graaf, René'. Although we can submit the record, we then find we can't retrieve it. On a 1.5.2 implementation, clicking the author's name results in: Browsing by Author Graaf, René ... and no results. On a 1.5.1 implementation, I get this in the dspace.log: 2009-05-18 11:39:38,308 INFO org.dspace.app.webui.servlet.AbstractBrowserServlet @ anonymous:session_id=BEDBE942D23168EAB1D8EB0D0C0AB013:ip_addr=10.1.92.253:browse:type=author,order=ASC,value=Graaf, René,month=null,year=null,starts_with=null,vfocus=null,focus=-1,rpp=20,sort_by=0,community=n/a,collection=n/a,level=1,etal=-1 And this in the DSpace (JSPUI): No Entries in Index There are no entries in the index for All of DSpace. Is there something that I need to configure to correct this? Sean -- Sean Carte esAL Library Systems Manager +27 72 898 8775 +27 31 373 2490 fax: 0866741254 http://esal.dut.ac.za/ -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Acute Accents -- Searching
Hi Sean, If you ensure that Tomcat's URIEncoding (and your JSP charsets, if you're using JSPUI) are set to UTF8, this should fix your problem. If you're not sure how to configure Tomcat to encode URIs (author browses use GET and therefore the name ends up in a URI), this page should help: http://struts.apache.org/2.0.14/docs/how-to-support-utf-8-uriencoding-with-tomcat.html Cheers, Kim -Original Message- From: Sean Carte [mailto:sean.ca...@gmail.com] Sent: Mon 5/18/2009 10:15 PM To: dspace-tech Subject: [Dspace-tech] Acute Accents -- Searching We've run into a problem with acute accents in an author's name: 'Graaf, René'. Although we can submit the record, we then find we can't retrieve it. On a 1.5.2 implementation, clicking the author's name results in: Browsing by Author Graaf, René ... and no results. On a 1.5.1 implementation, I get this in the dspace.log: 2009-05-18 11:39:38,308 INFO org.dspace.app.webui.servlet.AbstractBrowserServlet @ anonymous:session_id=BEDBE942D23168EAB1D8EB0D0C0AB013:ip_addr=10.1.92.253:browse:type=author,order=ASC,value=Graaf, René,month=null,year=null,starts_with=null,vfocus=null,focus=-1,rpp=20,sort_by=0,community=n/a,collection=n/a,level=1,etal=-1 And this in the DSpace (JSPUI): No Entries in Index There are no entries in the index for All of DSpace. Is there something that I need to configure to correct this? Sean -- Sean Carte esAL Library Systems Manager +27 72 898 8775 +27 31 373 2490 fax: 0866741254 http://esal.dut.ac.za/ -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech