[dokuwiki] Re: search improvements

Hi Andi,

You may want to pull the two patches for ft_snippet() I sent yesterday. They aren't utf-8 aware and although I can convert the strlen and substr to utf-8 versions easily enough, the preg flag OFFSET_CAPTURE returns a byte offset rather than a character offset into the string. As yet, I can't think of a way around that problem. I'll keep trying.

Cheers,

Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: