From 585e6085068378cdae9366ce27007dff679592d0 Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Wed, 3 Dec 2008 00:32:51 +0000 Subject: [PATCH] don't need to decode content before indexing it, it's already decoded --- lib/WebGUI/Search/Index.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/WebGUI/Search/Index.pm b/lib/WebGUI/Search/Index.pm index e25b1ba9a..4a20faea0 100644 --- a/lib/WebGUI/Search/Index.pm +++ b/lib/WebGUI/Search/Index.pm @@ -84,7 +84,6 @@ sub addKeywords { $text = WebGUI::HTML::filter($text, "all"); #-------------------- added by zxp for chinese word segment - utf8::decode($text); my @segs = split /([A-z|\d]+|\S)/, $text; $text = join " ",@segs; $text =~ s/\s{2,}/ /g;