Hi Mika, you're right the "secondary search" does not work with the below mentioned settings.
Claudia Mika Stenberg schrieb: > I tried this both on Tomcat 6 and Jetty 6, but still the front page > search doesnt handle chars right. The navigation search works fine though. > Any ideas? > > -Mika > >> Hi Mika @all, >> >> we just did some tests with 1.5.1 beta. Using Tomcat (6.0.13) these >> are the changes we had to make: >> >> - set the container-encoding in the web.xml to ISO-8859-1 >> - set the form-encoding for Browse to ISO-8859-1 in >> [dspace-source]/dspace-xmlui/dspace-xmlui-api/src/main/resources/aspects/ArtifactBrowser/sitemap.xmap >> >> >> >> The only issue left at this point is the provenance information in the >> license, if the user name holds special characters. >> >> You can try it at: https://eldorado2.uni-dortmund.de/dspace151betaxmlui/ >> If you find anything else, let me know. >> >> Sunny greetings >> >> Claudia >> >> >> >> Mika Stenberg schrieb: >>> Strangely with Jetty & DSpace 1.5.1 only the other search works fine. >>> I tried different combinations, where the first line means >>> container-encoding, and the second line form-encoding. >>> In wedefault.xml i set locale-encoding-mapping to utf-8. In Jetty >>> there seems to be no URIEncoding. >>> >>> It also seems, that when editing Community/Collection descriptions, >>> scandinavian characters are not handled correctly, but saved as >>> 'garbage'. >>> >>> Results below: >>> ------------------------ >>> >>> utf-8 >>> utf-8 >>> >>> Navigation search: does not work correctly >>> Full text search: does work correctly >>> >>> utf-8 >>> iso-8859-1 >>> >>> Neither works correctly >>> >>> iso-8859-1 >>> utf-8 >>> >>> Navigation search: does work correctly >>> Full text search: does not work >>> >>> >>> iso-8859-1 >>> iso-8859-1 >>> >>> Navigation search: does not work >>> Full text search: does work correctly >>> >>> >>> -Mika >>> >>> >>>> Great! This seems to work !! >>>> >>>> It doesn't seem to matter if you set URIEncoding in server.xml to >>>> ISO or UTF-8. Our linux is also running UTF-8. >>>> >>>> On our testserver we now have : >>>> >>>> server.xml : URIEncoding="UTF-8" >>>> web.xml : container-encoding=ISO-8859-1 >>>> web.xml : form-encoding=UTF-8 >>>> >>>> >>>> /Klaus >>>> >>>> >>>> >>>> Mark Diggory wrote: >>>> >>>>> Our production configuration appears to be working on scandinavian >>>>> character searches: >>>>> >>>>> http://dspace.mit.edu/search?scope=%2F&query=Astri+Jæger+Sweetman >>>>> >>>>> We have a difference in our production configuration and what is in >>>>> SF where in the web.xml we have ISO-8859-1 rather than UTF-8. This >>>>> was to stop dspace from "double escaping" the UTF-8 characters. >>>>> >>>>> >>>>>> <!-- >>>>>> Set encoding used by the container. If not set the >>>>>> ISO-8859-1 encoding >>>>>> will be assumed. >>>>>> Since the servlet specification requires that the >>>>>> ISO-8859-1 encoding >>>>>> is used (by default), you should never change this >>>>>> value unless >>>>>> you have a buggy servlet container. >>>>>> --> >>>>>> <init-param> >>>>>> <param-name>container-encoding</param-name> >>>>>> <param-value>ISO-8859-1</param-value> >>>>>> </init-param> >>>>>> >>>>> We also do not set our tomcat server.xml URIEncoding to be UTF-8, >>>>> however, we change the whole native encoding of the linux platform we >>>>> are running on to be UTF-8. So you may have to verify your doing one >>>>> of these. >>>>> >>>>> -Mark >>>>> >>>>> >>>>> On Aug 22, 2008, at 5:02 AM, KlausDK wrote: >>>>> >>>>> >>>>>> We are experincing the same problem in dspace 1.5 and dspace 1.4.2 in >>>>>> manakin. Jspui seems to work fine. >>>>>> >>>>>> http://www.nabble.com/utf8-problems.-Some-chars-are-stored- >>>>>> correctly-others-are-not.-tp18709026p18709026.html >>>>>> >>>>>> >>>>>> >>>>>> mica78 wrote: >>>>>> >>>>>>> It seems that scandinavian characters are not working in searches in >>>>>>> DSpace 1.5.1 beta. >>>>>>> Hopefully this can be fixed in stable release? >>>>>>> >>>>>>> Thanks, >>>>>>> Mika >>>>>>> >>>>>>> >>>>>>> --------------------------------------------------------------------- >>>>>>> >>>>>>> ---- >>>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>>>>>> challenge >>>>>>> Build the coolest Linux based applications with Moblin SDK & win >>>>>>> great >>>>>>> prizes >>>>>>> Grand prize is a trip for two to an Open Source event anywhere in >>>>>>> the >>>>>>> world >>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>>>>>> _______________________________________________ >>>>>>> DSpace-tech mailing list >>>>>>> DSpace-tech@lists.sourceforge.net >>>>>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech >>>>>>> >>>>>>> >>>>>>> >>>>>> -- >>>>>> View this message in context: http://www.nabble.com/DSpace-1.5.1- >>>>>> beta-tp19083313p19105912.html >>>>>> Sent from the DSpace - Tech mailing list archive at Nabble.com. >>>>>> >>>>>> >>>>>> ---------------------------------------------------------------------- >>>>>> >>>>>> --- >>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>>>>> challenge >>>>>> Build the coolest Linux based applications with Moblin SDK & win >>>>>> great prizes >>>>>> Grand prize is a trip for two to an Open Source event anywhere in >>>>>> the world >>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>>>>> _______________________________________________ >>>>>> DSpace-tech mailing list >>>>>> DSpace-tech@lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech >>>>>> >>>>> >>>> ------------------------------------------------------------------------- >>>> >>>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>>> challenge >>>> Build the coolest Linux based applications with Moblin SDK & win >>>> great prizes >>>> Grand prize is a trip for two to an Open Source event anywhere in >>>> the world >>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>>> _______________________________________________ >>>> DSpace-tech mailing list >>>> DSpace-tech@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech >>>> >>>> >>> >>> ------------------------------------------------------------------------- >>> >>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>> challenge >>> Build the coolest Linux based applications with Moblin SDK & win >>> great prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the >>> world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> DSpace-tech mailing list >>> DSpace-tech@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/dspace-tech > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech