Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()




Hi,

I'm doing the following and get the above error (of course with the funny
characters). What am I doing wrong?

int a = 0;
char *x;
char Text[500];

sprintf (Text,"Blah %i",a);
x = Text;

gtk_label_set_text (GTK_LABEL(label1),x);
-- 
View this message in context: 
http://www.nabble.com/Pango-WARNING-**%3A-Invalid-UTF-8-string-passed-to-pango_layout_set_text%28%29-tf3751858.html#a10602235
Sent from the Gtk+ - Apps Dev mailing list archive at Nabble.com.




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