Blog
Developers
Careers
Support
Contact
Gossamer Threads
Solutions
Results
About
Mailing Lists
Resource Centre
Forum
Tools
Home
Who's Online
Tags
Favourites
Login
Forum Search
(
Advanced Search
)
This forum
This category
All forums
for
Home
:
Products
:
Gossamer Forum
:
Discussion
:
How can SearchHighlighter Plugin support Chinese
Previous Thread
Next Thread
Print Thread
View Threaded
Apr 29, 2002, 9:26 PM
backdream
User
(117 posts)
Apr 29, 2002, 9:26 PM
Post #1 of 3
Views: 1721
Shortcut
How can SearchHighlighter Plugin support Chinese
It only highlighter the English,but not Chinese.
May 7, 2002, 5:48 PM
backdream
User
(117 posts)
May 7, 2002, 5:48 PM
Post #2 of 3
Views: 1602
Shortcut
Re: [backdream] How can SearchHighlighter Plugin support Chinese
In reply to
I add a string under " return unless my $search_string = $IN->param('search_string');"
$search_string =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
but it seems not work.
May 10, 2002, 7:56 PM
backdream
User
(117 posts)
May 10, 2002, 7:56 PM
Post #3 of 3
Views: 1587
Shortcut
Re: [backdream] How can SearchHighlighter Plugin support Chinese
In reply to
haha,I have done it.
The only thing you do is edit the SearchHighlighter.pm, replace the '\b($re)\b' to '($re)'. There are 3 place to modify .
Previous Thread
Next Thread
Print Thread
View Threaded