ik wrote: > Hello List, > > I have this weird annoying bug on a GTK2 based program. > When I use Hebrew everything displaied properly, but when I add the > ampersand char (&) it will report a warning: > > Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() > > Does anyone have experience with this issue and knows what I'm missing ? > > Thanks, > Ido > could it be that pango expects & encoding (HTML style) after the ampersand?
Try giving it " ", and see whether it issues a space. Even better, try "<" and see whether it generates a < Shachar ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]