dictd messes up IPA characters

Bug #444613 reported by Boris Toloknov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dictd (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: dictd

It seems that dictd in jaunty messes up International Phonetic Alphabet(IPA) characters.
To reproduce:
1) install mueller7-dict
2) /etc/init.d/dictd start
4) run uxterm with font which has IPA characters, e.g. DeJaVu Sans Mono
3) dict revolution
Look at the phonetic transcription between "[ ]" аfter "revolution". It's messed up.

IPA characters should look like they look in the attached files file_ubuntu.png or dictd_lenny.png

Additional information:
I don't think that there is a problem with my fonts or client. I can see the text from the dictd database file with all the IPA characters in the same terminal(uxterm) with the same font (DeJaVu Sans Mono). Also I see the proper IPA (in the same terminal under jaunty) running lenny's dictd through chroot from jaunty. I tried to use --locale=ru_RU.UTF-8 as well as --locale=en_US.UTF-8 and no locale at all ( I have LANG=en_US.UTF-8 ) for ditcd. I have all the mentioned locales installed and I don't forget to restart dictd. I tried to use another font which have IPA, English and Russian characters: Thryomanes. I tried to use different clients. I installed and checked all the versions of dictd <= jaunty from ubuntu repository. The result is always the same. I attached some screen shots:
file_ubuntu.png - that's what I see in the data file - the IPA look ok,
dictd_ubuntu.png - that's what I see with dict using ubuntu's dictd - the IPA messed up,
dictd_lenny.png - that's what I see with dict using lenny's dictd - the IPA look ok.

Tags: ipa
Revision history for this message
Boris Toloknov (tlknv) wrote :
Revision history for this message
Boris Toloknov (tlknv) wrote :

To make sure that this problem belongs to dictd:

1)
uxterm -fa "DeJaVu Sans Mono"
telnet localhost 2628
DEFINE * revolution

The IPA characters are messed up.

2)
uxterm -fa "DeJaVu Sans Mono"
zless +/^revolution /usr/share/dictd/mueller7.dict.dz

The IPA characters are ok.

Revision history for this message
Boris Toloknov (tlknv) wrote :

Karmic's dictd (installed onto jaunty) ruins IPA as well.

Revision history for this message
Boris Toloknov (tlknv) wrote :

My guess is that the problem might be caused by 3 bytes UTF-8 characters like e2+86+98 (U+2198 - south east arrow).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.