On 29/11/2007, ik <[EMAIL PROTECTED]> 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
The program may be storing it's info in XML files. Ampersand is an illegal character in XML. In any case (XML or not) file a bug with the software's author. Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing?