[EMAIL PROTECTED] said:
> After some code-walking -thanks to open source!- I recognized that a
> "locale: de_DE.ISO8859-1"  in the htdig.conf file will help. I was
> just fondling around with the LC_* environment vars before. 

> I suggest for upcoming htdig versions to introduce a
> "setlocale(LC_ALL, "");" in the beginning of the htdig/htsearch mains,
> since this would set the program locale according the env vars ;-) 

hmm, this would make it hard to ensure that the environment used
for digging (probably under cron) and for searchig (under your http server)
are the same. The config file seems to me better place to specify
collation and character class info.

Also, for efficiency, you probably always want to use the "C" locale
for collation. It doesn't really matter what collation sequence you
use as long as the one used for building the index is the same as the
one used for searching it.

Roman Maeder


_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to