NYCPHP Meetup

NYPHP.org

[nycphp-talk] Squashing accented characters

Rob Marscher rmarscher at beaffinitive.com
Fri Oct 22 15:02:58 EDT 2010


On Oct 22, 2010, at 2:50 PM, Paul A Houle wrote:
> I'm running into the problem that people are searching for "Dusseldorf" but the name of the place is "Düsseldorf",  so they don't find it.


I haven't seen a php function to do it (not to say one doesn't exist).  However, I use sphinx for search and there's a unicode to latin post in their wiki that might help you: http://sphinxsearch.com/wiki/doku.php?id=charset_tables#slovak  With a related post here - http://darwinweb.net/articles/thinking-sphinx-case-folding-configuration

I'm not exactly sure if those translations are baked into sphinx now.  See http://sphinxsearch.com/docs/manual-1.10.html#charsets  Perhaps switching to using sphinx search could make things easier for you? http://sphinxsearch.com/downloads.html

-Rob

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20101022/404e8f89/attachment.html>


More information about the talk mailing list