Although dictfmt normally refuses to produce
dictionaries containing 8-bit characters, there is
nothing in dictd or dict which makes other encodings
(such as Latin-1) unusable, so the following code in
fmt_newheadword() is an unnecessary, arbitrary
restriction and can be safely removed:
if (locale [0] == 'C' && locale [1] == 0){
if (contain_nonascii_symbol (word)){
fprintf (stderr, "\n8-bit head word \"%s\"is
encountered while \"C\" locale is used\n", word);
exit (1);
}
}
Consequently, contain_nonascii_symbol() may also be
removed.
--Leah <qleah@earthlink.net>
Logged In: YES
user_id=587312
To build 8-bit and utf-8 dictionaries compatible with DICTD
you MUST specify --locale option to dictfmt.
See dictfmt(1)