Re[2]: [htdig] Unable to set locale


Андрей Новиков (novikov@webclub.ru)
Fri, 7 May 1999 11:06:29 +0400


First of all you must be sure what locale to set. I don't
know what system you are runing but on FreeBSD the correct
name of locale is it_IT.ISO_8859-1

Compile this little program (set apropriate locale for your
system):

#include <ctype.h>
#include <stdio.h>
#include <locale.h>

main () {
 if (setlocale(LC_ALL,"it_IT.ISO_8859-1")==NULL ) {
  printf("Unable to set locale\n");
  exit(1);
 } else
  printf("Ok\n");
}

If it will say "Ok" then:
> Try putting that in your htdig.conf file. More accurately, use the locale
> attribute: http://www.htdig.org/attrs.html#locale

Andrey Novikov

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



This archive was generated by hypermail 2.0b3 on Fri May 07 1999 - 00:19:50 PDT