don't need to decode content before indexing it, it's already decoded

This commit is contained in:
Graham Knop 2008-12-03 00:32:51 +00:00
parent f3e08f3268
commit 585e608506

View file

@ -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;