don't need to decode content before indexing it, it's already decoded
This commit is contained in:
parent
f3e08f3268
commit
585e608506
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue