Hello, On Sat, Apr 09, 2005 at 04:03:13AM -0400, Filipus Klutiero wrote: > qwordtrans doesn't display accented French characters. For example, the > Préférences menu appears as "Pr f rences". In the status bar, "Aucun > terme trouvé" reads "Aucun terme trouv " instead. This is also visible > at least 8 times in the submenus, in the tooltips, and in the main > window. The help is OK.
I've not been able to reproduce this with wordtrans-qt 1.1pre14-2 Filipus can you still reproduce this bug? > The CLI wordtrans command provided by the package also has problems with this: > $ wordtrans > Le fichier /usr/share/wordtrans/Engtospa.dic n'existe pas > wordtrans 1.1pre13 Copyright (C) 2000, 2001 Ricardo Villalba > Erreur : vous n'avez pas indiqu?? le mot ?? rechercher. > Je ne peux pas (encore) lire dans votre esprit ;-) > > The above error should read "Erreur : vous n'avez pas indiqué le mot à > rechercher." I've not been able to reproduce this one also. Filipus can you also reproduce this bug? However, on an UTF-8 environment, qwordtrans --help has the same issue. The attached patch fixes this. The messages were converted to latin1. I've replaced the latin1 call to local8Bit() for the messages translated by gettext. It also fixes the welcome message, which was not displayed correctly on a UTF-8 environment. I've recoded the HTML welcome messages to UTF-8, and convert the file to the current locale when it is displayed. Kind Regards, -- Nekral
wordtrans-qt_UTF-8.patch.gz
Description: Binary data

