Perlfect Solutions
 

[Perlfect-search] russian words in search

Petrov Ivan ivan@yakute.elektra.ru
Fri, 14 Sep 2001 17:14:49 +0400
>>    I use version 3.20 of the Perlfect Search for search pages in
>>    russian language.

>You can try to comment out this line (in both indexer.pl and search.pl):
>${$buffer} =~ tr/a-zA-Z0-9_/ /cs;
I tried to do this but it doesn't work. Now i can't find anything in
russian. If i uncomment this i can find some.

>What encoding are you using for your files? Is it an 8-bit encoding?
I use cp1251 encoding (Windows Cyrillic). No it's 7-bit encoding.
What about this string?
 $buffer =~tr/������������������������������������������������������������/AACEOEUOEYOEecTOIunesOIuoeaIuoeaOIyoeaUEtoiaUNyoiaUAiaAoiAuA/;
What for is it responsible?