KH> Aleksey,

 >> Note that if dictd databases was created by dictfmt with --utf8
 >> option but without --allchars, 00-database-xxx entry will be
 >> present in .index file as 00databasexxx, i.e. with no dashes.

 KH> Indeed, s/-//g allows it to work without the
 KH> 00-database-allchars.  Is this a documented feature, or just a
 KH> fluke of dictfmt/dictd?

This is not a fluke and not a bug. Before looking for word in .index
file dictd converts it to lower case and removes non-alphanumeric
characters from the word (if no 00-database-allchars is found of
cause). This is necessary to ignore non-alphanumeric characters in
search and make the search case-insensitive. 'dictfmt' builds .index
file the same way. This is why 00-database-short could not be found
in uour databases.

It ALWAYS better to use 'dictfmt' to create databases for dictd.
If something is missing in 'dictfmt', it is better to inform me
and I'll add necessary functionality.

-- 
Best regards, Aleksey Cheusov.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to