EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #01457
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: international character search problem
- To: <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: international character search problem
- From: Tim Brody <tdb2@ecs.soton.ac.uk>
- Date: Thu, 17 Jan 2013 12:38:20 +0000
On Thu, 17 Jan 2013 00:46:37 +0000, Tommy Ingulfsen <tommy@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 in > 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 may > be > > use utf8; > … > $v2 =~ s/[^\p{L},]/ /ig; > … > > Maybe someone with a strong encodings-fu can comment? Hi, I've written a fix here: https://github.com/eprints/eprints/issues/13 -- All the best, Tim.
- References:
- [EP-tech] international character search problem
- From: Tommy Ingulfsen <tommy@library.caltech.edu>
- [EP-tech] international character search problem
- Prev by Date: [EP-tech] Re: Eprints 3.3.6 on CentOS 6.3 - Exports of Citations not working
- Next by Date: [EP-tech] Filtered workflows don't sort?
- Previous by thread: [EP-tech] international character search problem
- Next by thread: [EP-tech] Filtered workflows don't sort?
- Index(es):