Re: glade localization woes



On Tue, Jun 15, 2004 at 15:40:47 -0300, "Cristóv?o B. B. Dalla Costa" wrote:
Oh, and the problem in widgets not set via glade only happens the first 
time they're set.

So if I do:

$label->set (gettext ("XXX"));

And the translation of "XXX" contains accented characters thos will 
display as garbage, however, if I do

$label->set (gettext ("XXX"));
$label->set (gettext ("XXX"));

Then the resulting label on the screen appears correct.

That sounds strange. Perhaps gettext is broken and returns different
things based on whether it hits the cache or not :-(. Or perhaps it
needs some setting up of the unicode system (eg. use utf8), that you
have not done.

-------------------------------------------------------------------------------
                                                 Jan 'Bulb' Hudec <bulb ucw cz>

Attachment: signature.asc
Description: Digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]