Re: Character Table
- From: "Alan M. Evans" <ame1 extratech com>
- To: dwolfe <dougwolfejr gmail com>
- Cc: gtk-devel-list gnome org
- Subject: Re: Character Table
- Date: Thu, 02 Mar 2006 15:21:24 -0800
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]