[EP-tech] Re: international character search problem

Tim Brody tdb2 at ecs.soton.ac.uk
Thu Jan 17 12:38:20 GMT 2013

On Thu, 17 Jan 2013 00:46:37 +0000, Tommy Ingulfsen
<tommy at library.caltech.edu> wrote:
> I may have found a bug in EPrints 3.3.10. One of the authors in our
> repository is Anıl Zenginoğlu (if the name doesn't come out right in
> email, his homepage is  http://www.tapir.caltech.edu/~anil/). Searching
> for the surname works fine with the simple search, but with the advanced
> search we don't get any results. I believe the problem is with line 230
> perl_lib/EPrints/MetaField/Name.pm:
> # remove not a-z characters (except ,)
> $v2 =~ s/[^a-z,]/ /ig;
> That code splits up "zenginoğlu" to "zengino lu". A possible solution
> be
> use utf8;
>> $v2 =~ s/[^\p{L},]/ /ig;
> Maybe someone with a strong encodings-fu can comment?


I've written a fix here:

All the best,

More information about the Eprints-tech mailing list