Public bug reported:

Version: 1.12.1+dfsg-4

Dear Maintainer,

to better explain, I attached the dictionary received by utility dictfmt
(grk-rus_strong.tar.gz). The dictionary is received on a command:

cat "$USERDATA_PATH/grk-rus_strong.html" | sudo dictfmt -e -u
"http://michael72.radiushosting.ru/UPRAVLEN/DICT.shtml?td";; -s
"Греческо-русский лексикон Нового Завета" --utf8 --columns
0 --index-keep-orig --headword-separator / grk-rus_strong

In the index file of this database at line No.8, you can see the essence of the 
problem. Diacritic COMBINING GREEK YPOGEGRAMMENI (U+0345) stayed. This database 
index file does not contain a special header: 00-database-allchars, that 
indicates that the database assumes such search when using only alphabetic 
characters, digits and a space, but the character U+0345 is not included in 
this category. 
In General, the essence of the problem is that the diacritical mark U+0345 
COMBINING GREEK YPOGEGRAMMENI is perceived by dictfmt as an alphanumeric 
character.

For solving this problem I want to suggest my patch:

----------------------------------------------------------------
--- a/iswalnum.c        2015-03-24 08:27:08.133782584 +0300
+++ b/iswalnum.c        2015-03-24 08:20:31.846782845 +0300
@@ -4,7 +4,7 @@
      0,
     48,    65,    97,   170,   181,   186,   192,   216,
    248,   546,   592,   688,   699,   720,   736,   750,
-   837,   890,   902,   904,   908,   910,   931,   976,
+   890,   902,   904,   908,   910,   931,   976,
    986,  1024,  1164,  1223,  1227,  1232,  1272,  1329,
   1369,  1377,  1488,  1520,  1569,  1600,  1632,  1649,
   1749,  1765,  1776,  1808,  1810,  1920,  2309,  2365,
@@ -50,7 +50,7 @@
      0,
     10,    26,    26,     1,     1,     1,    23,    31,
    296,    18,    94,     9,     7,     2,     5,     1,
-     1,     1,     1,     3,     1,    20,    44,     8,
+     1,     1,     3,     1,    20,    44,     8,
     28,   130,    57,     2,     2,    38,     2,    38,
      1,    39,    27,     3,    26,    11,    10,    99,
      1,     2,    13,     1,    27,    38,    53,     1,
----------------------------------------------------------------

** Affects: dictd (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "DICT dictionary"
   
https://bugs.launchpad.net/bugs/1744896/+attachment/5041551/+files/grk-rus_strong.tar.gz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1744896

Title:
  Problem with COMBINING GREEK YPOGEGRAMMENI

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dictd/+bug/1744896/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to