In category_alpha.php
i has replaced strtoupper($letter) to
mb_strtoupper($letter), because strtoupper() doesn't support russian UTF8 encoding.
in category.php i changed the line to mb
$alpha[] = mb_strtolower(substr($title, 0, 1));
letters array looks like this:
$letters = array('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'а', 'б', 'в', 'г', 'д', 'е', 'ж', 'з', 'и', 'к', 'л', 'м', 'н', 'о', 'п', 'р', 'с', 'т', 'у', 'ф');
Changed letters array displayed correctly, however works only english index.
It seems russian symbols parsed incorrectly ( with enabled print_r($alpha) in code) it looks:
Array
(
[0] => �
[1] => t
[2] => b
)
[0] - its a russian symbol
Can you provide list of files where stored alphaindex functions? I try to fix this issue with yours help.
Thank You!