[dokuwiki] Re: search improvements

  • From: Preben Randhol <randhol+dokuwiki@xxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sat, 26 Aug 2006 19:23:34 +0200

On Sat, 26 Aug 2006 01:14:47 +0100
Chris Smith <chris@xxxxxxxxxxxxx> wrote:

> 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.

Please do!

Why people make things for anything else than UTF-8 or better is beyond
me!

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

Other related posts: