UTF8 strings - internationalization



Hello,

I modified a simple Programm to put out some german umlauts. But
everytime this warnings apears:
** (label:2876): WARNING **: Invalid UTF8 string passed to
pango_layout_set_text()

This works:
label = gtk_label_new ("This is a Normal label");

This doesn't work:
frame = gtk_frame_new ("Normal Label, mit Äs Üs ös und buckeleßßes");

I hope your newsreader show the german umlauts ;-)

What could I do to put out the german umlauts?

Does someone have a link to a tutorial how to internationalize gtk2-apps
with gettext. I downloaded the gettext manual, but it's big. I search a
small tutorial for beginners.

Thanks
Andreas



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