[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Problem with searching for names starting with Ö



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 at ecs.soton.ac.uk <eprints-tech-bounces at ecs.soton.ac.uk> on behalf of Christopher Gutteridge <cjg at ecs.soton.ac.uk>
Sent: 24 October 2017 15:29
To: eprints-tech at 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 at 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 &szlig; 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/