char tracefile[PATH_MAX];
char ip_addr[256];
char *webcitdir = WEBCITDIR;
+#ifdef ENABLE_NLS
char *locale = NULL;
char *mo = NULL;
+#endif /* ENABLE_NLS */
/* Parse command line */
#ifdef HAVE_OPENSSL
/* initialize the International Bright Young Thing */
#ifdef ENABLE_NLS
+
+ initialize_locales();
+
locale = setlocale(LC_ALL, "");
mo = malloc(strlen(webcitdir) + 20);
lprintf(9, "Text domain: %s\n",
textdomain("webcit")
);
+ lprintf(9, "Text domain Charset: %s\n",
+ bind_textdomain_codeset("webcit","UTF8")
+ );
#endif
initialize_viewdefs();