Hi,

[Regarding to bug 1954 (http://bugzilla.lyx.org/show_bug.cgi?id=1954)]

Quoting:

G. Baum:
> Anyway, the problem seems to be that the menu labels are always encoded in 
> latin and never in utf, so they may not be translated via Glib::locale_to_utf8
> (). AFAIK this has changed recently. Have a look at 
> src/frontends/qt2/QLyXKeySym.C for an example how it is done in qt. 

Myself:
> So it appears that the qt frontend is simply passing the strings directly
> through to libqt with ASCII conversion: QString::fromAscii() is used in 
> toqstr()
> which is used in createMenu.
> 
> Surely that must be broken for any non-european languages?  Shouldn't we be
> using either Unicode or locale-encoding in the backend?

So that's the question: how are we encoding the menu labels?  I got the
impression that this changed in Paris.

John

Reply via email to