The string isn't UTF-8 encoded and the pango function you're using needs the data to be in UTF-8. printf is a standard library function and would need the string in host encoding.
Look for functions to convert a host encoded string to UTF-8 and then pass that to the pango API. -vc -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of shibu alampatta Sent: Monday, September 04, 2006 2:15 PM To: [email protected] Subject: Invalid UTF String hi all I' m using a combo box, reading text from a Sqlite database table, and trying to add to the combo dropdown list. I'm gettting the warnig "Pango-Warning: Invalid UTF String passed to pango_lay_out_set_text()", and the text is being dispalayed in some picture like characters. but if i prints the characters using printf() i'm getting it properly on the terminal. any help pls.... Thxs in advance... with regards Shibu _______________________________________________ gtk-app-devel-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list _______________________________________________ gtk-app-devel-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
