Hi, I had troubles with accented characters an a host running solaris9. FAQ item 5.8 recommends running testlocale.c
The system has only very basic locale support installed: $ locale -a POSIX C iso_8859_1 running $ ./testlocale iso_8859_1 indeed shows characters 192 through 255 as accented letters. However htdig didn't index words with accented letters. Comparing the sources of testlocale.c and htlib/Configuration.cc I found that testlocale.c ist using setlocale(LC_CTYPE) but htlib/Configuration.cc is using setlocale(LC_ALL) this call fails with the iso_8859_1 locale. I changed htlib/Configuration.cc to use setlocale(LC_CTYPE) as well. Bingo, htdig now works as expected. -- Bernd 'Bing' Leibing Computing Center, University of Ulm, Germany Email: <[EMAIL PROTECTED]> Tel. 0731-50-22516 Homepage (PGP-Key): http://www.uni-ulm.de/~leibing O26/5215 ------------------------------------------------------- This SF.NET email is sponsored by: Order your Holiday Geek Presents Now! Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap, MP3 Players, XBox Games, Flying Saucers, WebCams, Smart Putty. T H I N K G E E K . C O M http://www.thinkgeek.com/sf/ _______________________________________________ htdig-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/htdig-dev
