Re: Pango-1.11.99 "Just In Case" released [unstable]



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




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