On Thu, 2006-03-02 at 14:24, dwolfe wrote:
> for(n=32; n<1000; n++)
> {
> static gchar buf[8];
> g_sprintf(buf, "%c", n);
> printf("string:%s", buf);
>
> gchar *end;
> if(g_utf8_validate (buf, -1, &end))
Check "man 7 utf8" and perhaps you will understand why you are mostly
failing to produce valid UTF-8 characters this way.
Wrong list, by the way; try gtk-app-devel-list instead.
_______________________________________________
gtk-devel-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-devel-list