According to Sasa Velickovic:
> I successfully compiled ht://dig under cygwin today and have gotten it
> to work. Except for the locale setting. I get the 'Warning: unknown
> locale!' error. I also havve been reading through the whole archive, but
> I can't find any solution using ht://dig on the windows platform. It
> seems that I have a locale directory in my cygwin distribution
> (C:\cygwin\usr\share\locale) with the following files in
> 'C:\cygwin\usr\share\locale\de\LC_MESSAGES' subdirectory:
[snip]
> These are my locale settings in htdig.conf:
>
> locale: de_DE.ISO-8859-1
Note that there may be a difference between "de_DE" and simply "de"
locales, as each may be represented by a different directory in
/usr/share/locale. Also, htdig doesn't make use of the LC_MESSAGES
subdirectory, but what is critical is the LC_CTYPE file in the directory
for your locale. This is what tells the ctype.h functions what's a
letter and what isn't. Make sure the locale you choose has one of these,
and if it doesn't, find out if there's a way to install one.
> lang_dir: ${common_dir}/german
> bad_word_list: ${lang_dir}/bad_words
> endings_affix_file: ${lang_dir}/german.aff
> endings_dictionary: ${lang_dir}/german.0
>
> Is it at all possible to make ht://dig index the german umlauts (����)
> on the windows plattform, getting it's locale information from somewhere
> else (meaning to run just from a normal batch). I would think that some
> file with the information 'index �������' would be enough or is it more
> complicated than that?
A little bit, yes. There's also the issue of defining the mappings
between upper case and lower case, and switching over all the code to
make use of these new configurable ctype-like functions. Right now,
htdig is locale-dependent, and we haven't yet worked out all it would
need to make it locale-independent, which leaves you stuck if your system
has a broken locale implementation.
--
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