According to Marco Scheurer:
> On Thursday, September 19, 2002, at 07:59  pm, Gilles Detillieux wrote:
> >> I set locale: to fr_FR and htdig complains with:
> >>
> >> "Warning: unknown locale!"
> >>
> >> However, the testlocale program seems to indicate that everything is
> >> fine (and this wasn't the case with Mac OS X 10.1.x):
> [...]
> > Have a look at the comments in the program source, available at
> > http://www.htdig.org/files/contrib/other/testlocale.c
> > Note:
> >  * line argument. If you find one that works, try changing the 
> > LC_CTYPE to
> >  * LC_ALL in the setlocale() call, to make sure it still works that 
> > way.
> >  * If it works both ways, that locale should work with htdig.
> 
> Sorry, I didn't read all the comments from testlocale.c . That's 
> obviously the problem: it doesn't work with LC_ALL...

In that case, please try changing Configuration::AddParsed() to
follow the setlocale(LC_ALL, ps->get(dict)) with a
setlocale(LC_CTYPE, ps->get(dict)), and see if that fixes the problem.
If not, try without the additional setlocale() call, but change the
original LC_ALL to LC_CTYPE and see if that works.  If you find something
that works, please let us know.  I'm sure we haven't heard the last
of this!

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


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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