On Sun, 2006-02-26 at 21:47 -0500, Behdad Esfahbod wrote: > * Insert '?' chars instead of invalid UTF-8 sequences in > pango_layout_set_text [#33195]
A long, long time ago we mande the decision to assume that pango_layout_set_text() gets a valid UTF-8 string. Doing otherwise would kill performance. This requirement is even documented in that function's docs. Can't we add something to the docs instead, along the lines of "if you crash inside this function, you passed an invalid UTF-8 sequence, doofus!". Federico _______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list