RE: Invalid UTF String

2006-09-04 Thread Viraj Chatterjee
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

Re: Invalid UTF String

2006-09-04 Thread Yeti
On Mon, Sep 04, 2006 at 02:15:09PM +0530, shibu alampatta wrote: 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