BobRay/SiteAtoZ — Issue #2: Specific characters
Author: artdevue
Created: 2012-02-10 10:03:55+00:00
State: open

Hi,
Many times, helping to make hack snippet SiteAtoZ. In many languages​​, has its own specific characters. Maybe I do not understand it, and do not properly work with SiteAtoZ?
For example, for the Russian language, I do so after the line

$a = range($alphabetHeadingStart, $alphabetHeadingEnd);

(around line 94), add

if($rus === '1'){
foreach (range(chr(0xC0),chr(0xDF)) as $v)
$a[] = iconv('CP1251','UTF-8',$v);
}

And in the snippet call, put &rus=`1`
If you do not have this option, you may need to add a parameter to the specific character, it is easier to indicate the parameter symbols separated by commas (here, or simply provide a letter or a snippet to collect their alphabet).
Sorry for my English