Package: dict-freedict-deu-eng
Version: 1.3-4
Severity: normal

Steps to reproduce:
1) dict notruf
2) echo foo

Expected results:
2) foo is printed to screen

Actual results:
2) nothing is printed to screen

More info:
1) It seems that the description of the word contains non-printable
characters that confuse my terminal emulator (xterm):

$ dict notruf | hexdump -C
00000000  31 20 64 65 66 69 6e 69  74 69 6f 6e 20 66 6f 75  |1 definition fou|
00000010  6e 64 0a 0a 46 72 6f 6d  20 47 65 72 6d 61 6e 2d  |nd..From German-|
00000020  45 6e 67 6c 69 73 68 20  46 72 65 65 64 69 63 74  |English Freedict|
00000030  20 64 69 63 74 69 6f 6e  61 72 79 20 5b 66 64 2d  | dictionary [fd-|
00000040  64 65 75 2d 65 6e 67 5d  3a 0a 0a 20 20 4e 6f 74  |deu-eng]:..  Not|
00000050  72 75 66 20 5b 6e 6f cb  90 74 72 75 cb 90 66 5d  |ruf [noË.truË.f]|
00000060  20 28 6e 29 20 2c 20 73  2e 28 6d 20 29 0a 20 20  | (n) , s.(m ).  |
00000070  20 20 20 65 6d 65 72 67  65 6e 63 79 20 63 61 6c  |   emergency cal|
00000080  6c 0a 20 20 0a                                    |l.  .|
00000085

2) The problematic character seems to be 0x90. If I remove it I can
see the description properly:

lindi1:~$ dict notruf | sed $'s/\x90//g'   
1 definition found

>From German-English Freedict dictionary [fd-deu-eng]:

  Notruf [noËtruËf] (n) , s.(m )
     emergency call
  
lindi1:~$ echo foo
foo

3) The output is not UTF-8 either since

$ dict notruf | recode utf-8..latin1
1 definition found

>From German-English Freedict dictionary [fd-deu-eng]:

  Notruf [norecode: Invalid input in step `UTF-8..ISO-8859-1'




-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US.ISO-8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

dict-freedict-deu-eng depends on no packages.

dict-freedict-deu-eng recommends no packages.

Versions of packages dict-freedict-deu-eng suggests:
ii  dict                       1.11.1+dfsg-1 Dictionary Client
ii  dictd                      1.11.1+dfsg-1 Dictionary Server

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to