Re: utf8 validate a single character



Razvan <razvaneduard xnet ro> writes:

I need a way to utf8 validate a single character.
I looked in glib/Unicode Manipulation and found only
gboolean g_unichar _validate(gunichar ch).

Exist a similar function for utf8 ?

gunichar g_utf8_get_char_validated (const  gchar *p,
                                    gssize        max_len);

Regards,
                                        Owen



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