Re: g_convert and g_utf8_validate



Derek Simkowiak <dereks@kd-dev.com> writes: 
> 	I was thinking g_utf8_validate was a response to the fact that
> g_convert won't tell you the difference between a failed conversion due to
> invalid input, vs. a failed conversion due to an unsupported character
> set.
>

If this matters, then g_convert() should just use GError. (Or you
could actually check errno coming out of g_convert()).
 
Havoc




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