![]() |
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! |
Hi. Below are two ISO-8859-5 character sets. To use these sets, try the following.
In the config file, the variable $phpdig_string_subst['iso-8859-1'] has the letter A followed by the colon and then other letter A's with accents. For example A:ÀÁÂÃÄÅ and so forth. Try making $phpdig_string_subst['iso-8859-5'] in the same form as $phpdig_string_subst['iso-8859-1'] and $phpdig_string_subst['iso-8859-2']. Also, in the config file are the $phpdig_words_chars['iso-8859-1'] and $phpdig_words_chars['iso-8859-2'] variables. Try making a $phpdig_words_chars['iso-8859-5'] variable for Russian letters without accents. Then define('PHPDIG_ENCODING','iso-8859-5'); in the config file. Code:
One ISO-8859-5 character set. Code:
Another ISO-8859-5 character set. EDIT: See this thread. |
All times are GMT -8. The time now is 01:34 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.