Gilles,

Thank you for your advice to use htdig 3.2.0b4. I just didn't check it
out.
But I think I generally solved the main problem here.

Forgive my ignorance, but I was not satisfied until I solved this
problem.
I also read your answer after solving my problem.

Finally the answer here is long but the way is short!

There is a simple way to create missing locales on BSD style UNIX
derivates like Mac OS X Server (Cygwin not tested). Simply cut and paste

the attached text between the "##" segements below and put it into a
source
file to be used with "mklocale".

It is just a hack and of course incomplete and maybe buggy. But it works

for me. It should be easy to complete or change it for different
languages.

Hopefully, you will receive this mail in a complete form.

See also manpage for mklocale(1). The rest is trial and error.
Have a nice day.

Regards,

Thilo

-----------

#### USE FRAGMENT BELOW !!! ############
/*
 ***************************************
 de_DE.ISO_8859-1 (minimum requirements)
 ***************************************
 Copyright (C) 2002
 bluewater multimedia concepts
 Dipl.-Phys. Thilo Bauer
 Koelnstrasse 191
 53757 St. Augustin
 ***************************************

 Sample source file to fulfill the minimum requirements
 of creating a working "locale" for htdig. It can easily
 be modified and extended to support other locales.
 Simply have a look at the man page for "mklocale(1)"

 This file should work on most BSD platforms (like Mac OS X Server)

 Usage:
 1. Download this file AS IS and store it on a safe place.
 2. Create a directory named "de_DE.ISO_8859-1" in your locale
directory.
 3. From a shell (maybe you have to be admin or root) type*):
    mklocale < de_DE.ISO_8859-1.source >
/usr/share/locale/de_DE.ISO_8859-1/LC_CTYPE
 4. Change htdig.conf to use a locale named "de_DE.ISO_8859-1".
 5. Run "rundig" again

 Now htsearch should be able to search with german umlauts.

 *) On some systems the locale might be located on another place.

 NOTE: This file is provided on an AS IS base.
       It does not define all of the requirements for
       any other software. There is no warranty anyway.
       No support is provided.
 */

ENCODING "NONE"

MAPLOWER <0x41 0x61>
MAPLOWER <0x42 0x62>
MAPLOWER <0x43 0x63>
MAPLOWER <0x44 0x64>
MAPLOWER <0x45 0x65>
MAPLOWER <0x46 0x66>
MAPLOWER <0x47 0x67>
MAPLOWER <0x48 0x68>
MAPLOWER <0x49 0x69>
MAPLOWER <0x4a 0x6a>
MAPLOWER <0x4b 0x6b>
MAPLOWER <0x4c 0x6c>
MAPLOWER <0x4d 0x6d>
MAPLOWER <0x4e 0x6e>
MAPLOWER <0x4f 0x6f>
MAPLOWER <0x50 0x70>
MAPLOWER <0x51 0x71>
MAPLOWER <0x52 0x72>
MAPLOWER <0x53 0x73>
MAPLOWER <0x54 0x74>
MAPLOWER <0x55 0x75>
MAPLOWER <0x56 0x76>
MAPLOWER <0x57 0x77>
MAPLOWER <0x58 0x78>
MAPLOWER <0x59 0x79>
MAPLOWER <0x59 0x79>
MAPLOWER <0x5a 0x7a>

MAPLOWER <0xc4 0xe4>
MAPLOWER <0xd6 0xf6>
MAPLOWER <0xdc 0xfc>

MAPUPPER <0xe4 0xc4>
MAPUPPER <0xf6 0xd6>
MAPUPPER <0xfc 0xdc>

ALPHA 0x41 - 0x5a
ALPHA 0x61 - 0x7a
ALPHA 0xc4
ALPHA 0xd6
ALPHA 0xdc
ALPHA 0xe4
ALPHA 0xf6
ALPHA 0xfc
ALPHA 0xdf

CONTROL 0x00 - 0x1f
CONTROL 0x80

DIGIT 0x30 - 0x39

PRINT 0x20 - 0x7f
PRINT 0xa1 - 0xff

GRAPH 0x20 - 0x7f
GRAPH 0xa1 - 0xff

LOWER 0x61 - 0x7a
LOWER 0xe4
LOWER 0xf6
LOWER 0xfc

PUNCT 0x21 - 0x2f
PUNCT 0x3a - 0x40
PUNCT 0x5b - 0x60
PUNCT 0x7b - 0x7e

SPACE 0x20

UPPER 0x41 - 0x5a
UPPER 0xc4
UPPER 0xd6
UPPER 0xdc

BLANK 0x7f - 0x9f

#### USE FRAGMENT ABOVE !!! ############



_______________________________________________
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

Reply via email to