[Typo3-dev] EXT: indexed_search - problems & solutions (to kasper)
Rene Suthoelder
t3 at 1zu6-design.de
Fri Apr 23 16:47:44 CEST 2004
masi,
perhaps you could correct the code? unfortunately i'm not a programmer so
i'm not sure how to do this properly.
rainer
"Martin-no$pam-Kutschker" <"Martin-no$pam-Kutschker"@blackbox.n0spam.net>
schrieb im Newsbeitrag
news:mailman.1.1082731199.27654.typo3-dev at lists.netfielders.de...
>
> Rene Suthoelder wrote:
> > my question:
> >
> > the only reference to german umlauts i found in your source code was
this
> > (in file \ext\indexed_search\class.indexer.php)
> > ============
> > [snipp]
> >
> > class tx_indexedsearch_indexer {
> >
> > [snipp]
> >
> > var $convChars=array(
> > "ÁÉÚÍÄËÜÖÏÆØÅ",
> > "áéúíâêûôîæøå"
> >
> > [snipp]
> > ============
> >
> > i'm not a programmer at all, but i think this maps capital letters to
their
> > corresponding small letters.
> > as you can see, the german letters are not mapped correctly, since Ä
becomes
> > â. i changed this, and voila: searching äpfel returned a match (and as
we
> > all know: an apple a day keeps sorrow away!)
>
> Seems you're right.
>
> Anyway, for 3.6 the class (and others!) should use
> t3lib_cs::conv_case($charset,$string,$case).
>
> Masi
>
More information about the TYPO3-dev
mailing list