View Single Post
Old 09-26-2003, 04:08 AM   #1
Ivan
Green Mole
 
Join Date: Sep 2003
Posts: 1
Question I want search RUSSIAN (ISO-8859-5) language in PHPDig, How to ???

Please help me! I want search RUSSIAN (ISO-8859-5) language in PHPDig, How to ???

I can not undestand, what mast I do in this:
{
5.3. Configure PhpDig encoding

Modify the following contant. PhpDig does not support multiple encodings : The choosen applies to all indexed documents and admin interface.

define('PHPDIG_ENCODING','iso-8859-1'); // iso-8859-1 and iso-8859-2 supported

If you want PhpDig supports others encoding, you have to add array indexes to the following variables, taking example on existing ones.

$phpdig_string_subst['iso-8859-1']
$phpdig_string_subst['iso-8859-2']
...

$phpdig_words_chars['iso-8859-1']
$phpdig_words_chars['iso-8859-2']
...
}

Thank You!
Ivan is offline   Reply With Quote