Thank you and Shachar for the answers.

It appears that actually a function in between changed the encoding to
ASCII based rather kept it as UTF-8.


On Nov 30, 2007 2:14 AM, Dotan Cohen <[EMAIL PROTECTED]> wrote:
>
> 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?
>


Ido
-- 
http://ik.homelinux.org/

Reply via email to