+1 vote for ViM
2 2006-08-19 16:23
Re: У меня почему-то в сообщениях не печатаетс (1 replies, posted in Archive)
1. ????????? ? ?????? ???????:
define('PUN_DEBUG', 1);
2. ??????????? ??????? include/search_idx.php - ??? ???? ??????? split_words, ? ??????? ????????? ?????????? ??????????? ?? ?????. ??? ?? ????? ???????? ????? ?????? ??????? ???????? "?? ???".
3. ?? ? ????????? ?????????, ???????... ? UTF ? ??????? ?????????? ???????? ?????.
3 2006-08-11 19:03
Re: Indexing is not unicode-safe (20 replies, posted in PunBB 1.2 troubleshooting)
One more bad thing, split_words() in search_idx.php at line 63 trashes some of UTF strings badly. The solution is:
$text = trim(preg_replace('#\s+#u', ' ', $text));
It's just adding of 'u' to regex.
Without that it behaves badly on russian word pahat'.
4 2006-08-10 23:22
Re: Русский перевод PunBB (88 replies, posted in Archive)
???? ??? ???????????...
???????? -> ?????????