Re: Invalid UTF String



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 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....

Unless you use UTF-8 locale correct printing to the terminal
is no proof of UTF-8, in fact, quite the contrary.  You
probably need g_locale_to_utf8() to convert from your locale
encoding to UTF-8.

Yeti


--
Anonyms eat their boogers.



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