scandinavian characters does not work in search pattern

Post Reply
roskaa
Posts: 7
Joined: Tue Jun 10, 2003 6:37 am

scandinavian characters does not work in search pattern

Post by roskaa »

hi,


i am using an old 2.55 webinator, and i just dont know how to make search when search pattern includes scandinavian character(s) like äö or ä and ö.

everything else is working fine.

i have read the manual and guessed that "-k" could be the key to the solution, but i dont know how to make it work.


thank you,

pasi
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

scandinavian characters does not work in search pattern

Post by mark »

Add
-k"[\alnum\x80-\xff]{2,30}"
to your gw options when walking. To reindex your existing walk database
gw -dYOURDB -unindex
gw -dYOURDB -index -k"[\alnum\x80-\xff]{2,30}"
roskaa
Posts: 7
Joined: Tue Jun 10, 2003 6:37 am

scandinavian characters does not work in search pattern

Post by roskaa »

now it works, but the scandinavian chars are case-sensitive in pattern.

that is fine, but is there a workaround for this?

thank you,

-pasi
User avatar
John
Site Admin
Posts: 2611
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

scandinavian characters does not work in search pattern

Post by John »

The newer versions of Webinator will respect the locale, so they can handle the case-insensitive search if the locale is set correctly.
John Turnbull
Thunderstone Software
Post Reply