Re: libseed-list Defining a gchar in seed?
- From: alsaf <alfraealba googlemail com>
- To: Seed - Gnome Javascript <libseed-list gnome org>
- Subject: Re: libseed-list Defining a gchar in seed?
- Date: Mon, 08 Feb 2010 17:54:21 +0000
Thanks Alan.
I'll definitely have a closer look at this as it looks most helpful. As
I mentioned, I am just having a look at the glib library and not sure if
these character based functions would be used in a real-life situation
as I had used them but it is worth knowing for curiosities sake.
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 07 Feb 2010 22:16:42 +0800
> From: "Alan Knowles" <alan akbkhome com>
> To: "alsaf" <libseed-list-bounces gnome org>
> Cc: libseed-list gnome org
> Subject: Re: libseed-list Defining a gchar in seed?
> Message-ID: <2f657cdefe2d82c9c28c5f0d8d7cb361-*LOGS akbkhome com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Javascript is UTF friendly - you should probably look at the native functions for this -
> https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String
>
> Regards
> Alan
>
> --- On 07/Feb/2010, alsaf wrote:
> > I've found a command to convert from utf-8 to char:
> >
> > glib.utf8_get_char("a");
> >
> > But unable to find one that does it the other way. I see there is a
> > command called glib.convert but that does string but is there one for
> > characters?
> >
> > _______________________________________________
> > libseed-list mailing list
> > libseed-list gnome org
> > http://mail.gnome.org/mailman/listinfo/libseed-list
>
>
>
> ------------------------------
>
> _______________________________________________
> libseed-list mailing list
> libseed-list gnome org
> http://mail.gnome.org/mailman/listinfo/libseed-list
>
>
> End of libseed-list Digest, Vol 5, Issue 3
> ******************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]