On 3/6/07, Henrik Zagerholm <[EMAIL PROTECTED]> wrote: > Hello list, > > I've just updated to 0.11.3 and I came upon this problem. > When using the highlight function in a rails application I sometimes > get the error "Malformed UTF-8 character." > > It is just on certain documents and if I change the excerpt length > the error disappears so it feels that if the highlight method cuts > the text at the wrong character the function returns a string with > malformed characters. > This then causes the error when the text is outputted. > > Is this a problem with ferret or with rails? > I'm still on 1.1.6 and I haven't upgraded to rails 1.2 yet so I'm not > using the new multi byte unicode functions.
Hi Henrik, This must be a problem with Ferret. I'm not sure how it is happening though. If you can narrow it down to a failing test case it would be really helpful. Thanks, Dave -- Dave Balmain http://www.davebalmain.com/ _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

