According to Stefan Wold: > On Wed, 2002-03-13 at 01:07, Gilles Detillieux wrote: > > According to Stefan Wold: > > > I'm running htdig 3.1.6 on Linux. When I use rundig to create the > > > database for a website it index it correct except that it doesn't take > > > ANY foreign chars (Swedish) at all, ��� nor ��� can be found in the > > > db.wordlist. It seem to skip the whole word if it contains a Swedish > > > char. I have tried with different locale settings before running rundig > > > without any luck. > > > > > > Anyone had this kind of problem? > > > > Lots of people do! See http://www.htdig.org/FAQ.html#q5.8 > > I added a couple paragraphs to it this morning. > > Well I have done everything by the book, the testlocale program show > correct chars. I have tried to recompile a few locales as well without > any luck. After setting sv_SE.ISO-8859-1 as locale I try to rerun rundig > but it still fail to index Swedish chars. I'm currently out of clues =)
What Linux distribution are you running htdig on? Is it libc5 or glibc based? Does the /usr/share/locale/sv_SE directory contain LC_CTYPE and several other LC_* files? When you run testlocale, what output does it give for characters such as �, �, �, �, � and �? Are they flagged as -a-un--gt---? and -al-n--gt---? Did you try testlocale using both LC_CTYPE and LC_ALL as the first argument to the setlocale() function? -- 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 _______________________________________________ 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

