Good call.  Testlocale runs, but I don't think it gives the right output.  Any pointers/links on how to set up the spanish locale on on linux or solaris? 
 
thanks
chad

>>> Gilles Detillieux <[EMAIL PROTECTED]> 01/04/02 04:22PM >>>
According to Chad Phillips:
> I am trying to get htdig to index a spanish version of my company's
> website.  I added this line to the end of htdig.conf
> locale: es
>
> But when I run the rundig script I get this warning.
> Warning: unknown locale!

First of all, make sure that the es locale is defined in /usr/share/locale.
Especially, you need to make sure it has an LC_CTYPE file to define the
character types.  On many systems, you need to use something like es_ES
rather than just es.  See also http://www.htdig.org/FAQ.html#q5.8

> Doing a search does not pull up any spanish words.  I have tried this on
> linux (Mandrake 8.0) and Solaris 8.  Both give the same warning.   Someone
> had put a test c program in the mailing list called testlocale.c .  I ran
> that and it worked.

When you say it worked, do you mean it ran without giving any error
messages?  That alone isn't enough.  If this it the testlocale.c program
I posted over a year ago, you need to look at the codes it puts out for
accented characters to make sure they are indeed identified as letters
and not as control characters.

--
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

Reply via email to