Utf8 strings manipulation



Hi all,

        I'm trying to transform an utf8 string. I have some problems
with it because I don't know how to do it or where I can see an
example (a tutorial, doc or application).

I need transform this text (in utf8):

gtk_source_completion

to:

GtkSourceCompletion.

I don't know how replace a character or delete a character. Perhaps I
need to allocate a gchar* array first and then use g_utf8_strncpy in
all _, I don't know. In that case, I don't know how much memory I need
to allocate.

Can you help me?

Regards,
        Perriman



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