Hello!

I'm having problems with some foreign chars when using htdig to index and
search a Swedish site. The locale is set right (sv) and is working in
other applications. The problem I have is somewhat weird, maybe it has
something to do with "uppercase" "lowercase"?

Well, I can search words like "�sa,�sa,�l,�l" and get the same matches.
But when I try to search "b�st" I get no hits. With "b�st" I get several
hits...

I asked a guy here a the University and he said that there might be
complications with "unsigned char" and "char". He gave me the example
below. Please answer at a novice level, my C++ and Unix knowledge is very
limited.  

Thanks
Philippe Ramkvist-Henry

------------------------------------------------------------------------

 htlib/StringMatch.cc
 
     while ((unsigned char)string[pos])
     {
         new_state = table[trans[string[pos]]][state];
         
Should be? or? 
 
     while (string[pos])
     {
         new_state = table[trans[(unsigned 
 char)string[pos]]][state];
  
       


------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You'll receive a message confirming the unsubscription.

Reply via email to