Your message dated Fri, 11 Aug 2006 10:04:54 +0200
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #318531,
regarding edict-fpw: FTBFS: fpwedict: too long word
to be marked as having been forwarded to the upstream software
author(s) Kazuhiko SHIOZAKI <[EMAIL PROTECTED]>.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Hello,

We're having trouble formatting the current version of EDICT with
edict-fpw.  Several English-to-Japanese mappings exceed the word length
limit of 255 bytes (as imposed by the JIS X 4081 format):

    `the "three no principle" of no drive (indolence), no interest
    (indifference), and no sense of responsibility (irresponsibility),
    the term describing the temperament of the japanese youth of the
    1970s' (342 bytes encoded)

    `the general term for the large number of scholars and
    controversialists, and their respective schools, that flourished
    during the spring and autumn period and the warring states period in
    chinese history' (346 bytes encoded)

    `the system in government offices and business corporations in which
    draft proposals are prepared by someone in charge of the matter and
    circulated for collective deliberation and final approval by
    particular (designated) officials or executives' (420 bytes encoded)

I've attached a simple-minded patch to ignore English keys longer than 128
characters (which could theoretically take up 256+ bytes encoded).  Do you
know of a cleaner/better solution?

Thanks in advance,

Matej
--- edict-fpw-1.2.1~/fpwedict
+++ edict-fpw-1.2.1/fpwedict
@@ -250,7 +250,9 @@
     #    }
     $item = $key;
     $key = $key_kana;
-    register();
+    if (length($key) < 128) {
+      register();
+    }
   }
 }
 #

--- End Message ---

Reply via email to