Cyrillic users only:
To be able to write annotations in Russian, add this function at the beginning of annotate.php
function CyrText($aTxt) {
$isostring = convert_cyr_string($aTxt, "w", "i");
for ($i=0; $i < strlen($isostring); $i++){
$thischar=substr($isostring,$i,1);
$charcode=ord($thischar);
$uniline.=($charcode>175) ? "&#" . (1040+($charcode-176)). ";" : $thischar;
}
return $uniline;
}
and after both lines: $ann_text = $config['annotation_text'];
add: $ann_text = CyrText($ann_text);