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-name>container-encoding</param-name>
>            <param-value>UTF-8</param-value>
>        </init-param>
>
>        <init-param>
>            <param-name>form-encoding</param-name>
>            <param-value>UTF-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

Reply via email to