Home
last modified time | relevance | path

Searched refs:utf8_idx (Results 1 – 1 of 1) sorted by relevance

/dokuwiki/inc/
H A Dfulltext.php460 $utf8_idx = \dokuwiki\Utf8\PhpString::strlen(substr($text,0,$idx));
466 $pre = min($utf8_idx-$utf8_offset,100);
467 $post = min($len-$utf8_idx-$utf8_len,100);
485 $start = $utf8_idx - $pre;
487 $end = $utf8_idx + $utf8_len + $post; // now set it to the end of this context
500 $utf8_offset = $utf8_idx + $utf8_len;
501 $offset = $idx + strlen(\dokuwiki\Utf8\PhpString::substr($text,$utf8_idx,$utf8_len));