EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #06901
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Problem with searching for names starting with Ö
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Problem with searching for names starting with Ö
- From: Liam Green-Hughes <L.E.Green-Hughes@kent.ac.uk>
- Date: Tue, 24 Oct 2017 14:56:55 +0000
Thanks for the replies. Sounds very much like I can make one audience happy but only at the expense of another one! I will try overriding the values I need to change. Liam ________________________________________ From: eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of Christopher Gutteridge <cjg@ecs.soton.ac.uk> Sent: 24 October 2017 15:29 To: eprints-tech@ecs.soton.ac.uk; Gerhard Gonter Subject: Re: [EP-tech] Problem with searching for names starting with Ö If you do want to hack that list, you should be able to modify it by tweaking values via a config file. It's just a global variable. $EPrints::Index::FREETEXT_CHAR_MAPPING->{chr(0x00d6)} = "O"; Would override the behaviour. It would do it for all repositories loaded, if your EPrints happened to run multiple archives off of one server. nb. it should also be set for chr(0x00f6) => 'oe', which is the lowercase version! On 24/10/2017 14:56, Gerhard Gonter wrote: > On Tue, Oct 24, 2017 at 3:27 PM, Liam Green-Hughes > <L.E.Green-Hughes@kent.ac.uk> wrote: >> For example (btw names have been changed!) if an author exists on the system >> with the surname "Öl", results will not be returned if I search by "Ol" but >> they will be if I enter "Öl" or, more suprisingly, "Oel" (thanks to the >> substitution made). > That's not surprising at all, since Oe is the digraph form of Ö. > I (and most german speaking people) would find it surprising/confusing > if I had to enter "Ol" instead of "Oel" to find "Öl". > > * [1] https://en.wikipedia.org/wiki/%C3%96 > > P.S.: I do not use a german keyboard and have to constantly replace our > umlaut characters with Ae, Oe and Ue and the sharp-S ß with ss. > Nobody complains, but I would get really angry replies if I just wrote > A, O, and U ;) > > regards, Gerhard Gonter > > *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech > *** Archive: http://www.eprints.org/tech.php/ > *** EPrints community wiki: http://wiki.eprints.org/ > *** EPrints developers Forum: http://forum.eprints.org/ -- Christopher Gutteridge -- http://users.ecs.soton.ac.uk/cjg University of Southampton Open Data Service: http://data.southampton.ac.uk/ You should read our Web & Data Innovation blog: http://blogs.ecs.soton.ac.uk/webteam/ *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/ *** EPrints developers Forum: http://forum.eprints.org/
- References:
- [EP-tech] Problem with searching for names starting with Ö
- From: Liam Green-Hughes <L.E.Green-Hughes@kent.ac.uk>
- Re: [EP-tech] Problem with searching for names starting with Ö
- From: Gerhard Gonter <ggonter@gmail.com>
- Re: [EP-tech] Problem with searching for names starting with Ö
- From: Christopher Gutteridge <cjg@ecs.soton.ac.uk>
- [EP-tech] Problem with searching for names starting with Ö
- Prev by Date: Re: [EP-tech] Problem with searching for names starting with Ö
- Next by Date: Re: [EP-tech] Render_value help
- Previous by thread: Re: [EP-tech] Problem with searching for names starting with Ö
- Next by thread: Re: [EP-tech] Problem with searching for names starting with Ö
- Index(es):