Re: htdig: French Characters again !

Gilles Detillieux (
Wed, 9 Dec 1998 09:07:06 -0600 (CST)

According to Defranould:
> > > When a word (ie : décret) is into META-description or META-keywords, it
> > > is OK htdig indexes well. But when this "décret" is not into META-TAG
> > > but is in the plain text (in the page !) htdig indexes wrongly. I've got
> > > the impression it only indexes "d" and "cret" or something like that
> > > because when I search for "décret" or "decret" I've got 210 matches and
> > > when I only search for "cret" I have 772 matches and all of these 772
> > > matches are "cret" in the word "decret" !
> > > I already put locale: fr_FR.ISO_8859-1 in htdig.conf but that didn't
> > > change this point.
> > > Please help !!!!!
> >
> > Maybe the locale stuff isn't working properly, or isn't setup yet, on your
> > system. What operating system version are you running?
> Perhaps I forgot to change something in the search.html file in the line
> :
> <input type=hidden name=config value=htdig>
> Does this line has to be changed ?

Only if you're using a different configuration file for your searches.
If you're sticking with the htdig.conf in the standard configuration
file directory (which you define before compiling), then that line is
search.html doesn't need to change.

> When I type uname -a, I got my operating system version :
> SunOS 5.5.1 Generic sun4u sparc SUNW,Ultra-2
> Is there a problem with this ?

Well, I'm not that familiar with Solaris, but it seems you're running a
current version, so it should have all the locale stuff. A Solaris system
at our University, which I've just checked, seems to define a "fr" locale,
as well as fr_BE, fr_CA, and fr_CH, but not fr_FR. Maybe for Solaris,
you should set locale to fr.ISO_8859-1 ?

Gilles R. Detillieux              E-mail: <>
Spinal Cord Research Centre       WWW:
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

---------------------------------------------------------------------- To unsubscribe from the htdig mailing list, send a message to containing the single word "unsubscribe" in the body of the message.

This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:29:49 PST