[Typo3-dev] EXT: indexed_search - problems & solutions (to kasper)
Martin-no$pam-Kutschker
"Martin-no$pam-Kutschker" at blackbox.n0spam.net
Fri Apr 23 22:42:02 CEST 2004
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